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

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
1877
1
نوفمبر 22
1955
1
مايو 23
2960
3
مارس 21
4916
3
سبتمبر 25
2871