Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4131 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
2095
1
nov. 22
2412
1
mei 23
3238
3
mrt. 21
5249
3
sep. 25
3413