Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3578 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
1680
1
marrask. 22
1752
1
toukok. 23
2754
3
maalisk. 21
4677
1
heinäk. 25
2293