Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3565 Представления

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
1665
1
нояб. 22
1740
1
мая 23
2742
3
мар. 21
4646
1
июл. 25
2245