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
апр. 23
|
2131 | |||
|
1
нояб. 22
|
2453 | |||
|
1
мая 23
|
3276 | |||
|
3
мар. 21
|
5285 | |||
|
3
сент. 25
|
3482 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.