تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3466 أدوات العرض

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)



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 23
1604
1
نوفمبر 22
1664
1
مايو 23
2641
3
مارس 21
4536
2
يوليو 25
3278