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

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
2050
1
лист. 22
2246
1
трав. 23
3148
3
бер. 21
5157
3
вер. 25
3202