Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3442 Visualizações

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
Cancelar
Melhor resposta

You may try like this in your python file:

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



Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
abr. 23
1579
1
nov. 22
1648
1
mai. 23
2621
3
mar. 21
4520
2
jul. 25
2897