View: PIL + pasar todos los formatos a jpg

  1. 8 years ago by macks
    1. image = Image.open(imageField)
    2. if image.mode != "RGB":
    3.     image = image.convert("RGB")
    4.     #big
    5.     image.save('image.jpg')
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2090"></script>

0 comment about "PIL + pasar todos los formatos a jpg"