[Image-SIG] how to use pil for a jpeg 90 compression?

Fredrik Lundh fredrik at pythonware.com
Tue Aug 12 12:27:27 CEST 2008


Karsten Hiddemann skrev:

>>> I have 30 picture, and I wanna use PIL to compress them to jpeg 90. 
>>> Is there a function that can do that in PIL?
>>
>> What does "30" and "90" refer to?
> 
> I'd think that he refers to the "Quality" or "Compression Level" as most 
> image manipulation programs call it.

Yeah, but changing the "quality" from 30 to 90 for an existing file 
makes very little sense.  Once the information is lost, it's lost.

</F>



More information about the Image-SIG mailing list