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

Karsten Hiddemann mail at karsten.name
Tue Aug 12 12:28:56 CEST 2008


Fredrik Lundh schrieb:
> 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.

30 images to be converted to jpeg with a quality setting of 90, but I 
might be completely wrong about this, too. ;)

I think the question is answered unless the OP writes again.


More information about the Image-SIG mailing list