Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3551 Weergaven

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
Annuleer
Beste antwoord

You may try like this in your python file:

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



Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 23
1665
1
nov. 22
1731
1
mei 23
2741
3
mrt. 21
4639
1
jul. 25
2234