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)
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
abr 23
|
1604 | ||
|
1
nov 22
|
1665 | ||
|
1
may 23
|
2646 | ||
|
3
mar 21
|
4542 | ||
|
2
jul 25
|
3282 |