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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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)
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
kwi 23
|
1605 | ||
|
1
lis 22
|
1667 | ||
|
1
maj 23
|
2647 | ||
|
3
mar 21
|
4543 | ||
|
2
lip 25
|
3283 |