I am building a module and I need to manipulate an image directly in the backend with python
I want to use PIL for that. I have read that PIL is part of the odoo library so how can I import it?
I am building a module and I need to manipulate an image directly in the backend with python
I want to use PIL for that. I have read that PIL is part of the odoo library so how can I import it?
You may try like this in your python file:
from PIL import Image
im_open = Image.open(image_file_path)
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
0
Nis 23
|
3280 | |||
|
1
Kas 22
|
3792 | |||
|
1
May 23
|
4254 | |||
|
3
Mar 21
|
6832 | |||
|
3
Haz 26
|
6769 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.