Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3584 Visninger

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
Kassér
Bedste svar

You may try like this in your python file:

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



Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 23
1683
1
nov. 22
1761
1
maj 23
2772
3
mar. 21
4687
1
jul. 25
2321