Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3508 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

You may try like this in your python file:

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



Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 23
1635
1
лист. 22
1687
1
трав. 23
2695
3
бер. 21
4580
1
лип. 25
1344