跳至內容
選單
此問題已被標幟
1 回覆
3554 瀏覽次數

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
1665
1
11月 22
1736
1
5月 23
2742
3
3月 21
4641
1
7月 25
2237