Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3807 Näkymät

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
Hylkää
Paras vastaus

You may try like this in your python file:

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



Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 23
1874
1
marrask. 22
1947
1
toukok. 23
2952
3
maalisk. 21
4911
3
syysk. 25
2870