Skip to Content
Menu
This question has been flagged
1 Atsakyti
3445 Rodiniai

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?

Portretas
Atmesti
Best Answer

You may try like this in your python file:

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



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
bal. 23
1581
1
lapkr. 22
1651
1
geg. 23
2624
3
kov. 21
4523
2
liep. 25
2906