Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3714 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
1803
1
nov. 22
1868
1
mei 23
2876
3
mrt. 21
4835
3
sep. 25
2662