Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3701 Visualizzazioni

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
Abbandona
Risposta migliore

You may try like this in your python file:

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



Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 23
1801
1
nov 22
1865
1
mag 23
2866
3
mar 21
4831
3
set 25
2658