Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3606 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You may try like this in your python file:

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



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 23
1699
1
พ.ย. 22
1774
1
พ.ค. 23
2797
3
มี.ค. 21
4719
1
ก.ค. 25
2353