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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
1673 | ||
|
1
11月 22
|
1747 | ||
|
1
5月 23
|
2749 | ||
|
3
3月 21
|
4663 | ||
|
1
7月 25
|
2276 |