跳至内容
菜单
此问题已终结
1 回复
3449 查看

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)



形象
丢弃
相关帖文 回复 查看 活动
0
4月 23
1581
1
11月 22
1653
1
5月 23
2625
3
3月 21
4524
2
7月 25
2910