Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3567 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

You may try like this in your python file:

from PIL import Image
im_open = Image.open(image_file_path)



Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 23
1668
1
lis 22
1742
1
kvě 23
2744
3
bře 21
4656
1
čvc 25
2250