Skip to Content
Menú
This question has been flagged
1 Respondre
3535 Vistes

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?

Avatar
Descartar
Best Answer

You may try like this in your python file:

from PIL import Image
im_open = Image.open(image_file_path)



Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
d’abr. 23
1650
1
de nov. 22
1712
1
de maig 23
2729
3
de març 21
4604
1
de jul. 25
1946