Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3568 Ansichten

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
Verwerfen
Beste Antwort

You may try like this in your python file:

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



Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Apr. 23
1672
1
Nov. 22
1744
1
Mai 23
2748
3
März 21
4657
1
Juli 25
2267