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)
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
0
avr. 23
|
3175 | |||
|
1
nov. 22
|
3674 | |||
|
1
mai 23
|
4159 | |||
|
3
mars 21
|
6709 | |||
|
3
juin 26
|
6073 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.