Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3517 Prikazi

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
Opusti
Best Answer

You may try like this in your python file:

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



Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 23
1641
1
nov. 22
1701
1
maj 23
2713
3
mar. 21
4591
1
jul. 25
1568