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

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
1882
1
лист. 22
1961
1
трав. 23
2965
3
бер. 21
4921
3
вер. 25
2874