Skip to Content
Menu
This question has been flagged
1 Reply
3526 Views

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
Discard
Best Answer

You may try like this in your python file:

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



Avatar
Discard
Related Posts Replies Views Activity
0
Apr 23
1649
1
Nov 22
1710
1
May 23
2725
3
Mar 21
4601
1
Jul 25
1925