"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> > You could do it with PIL, or run jpegtran in an external process.
> > jpegtran may be easier.
> 
> eh?  are you sure you know what jpegtran does?
> 
> JPEGTRAN(1) 

Whoops, sorry, right, jpegtran is for rotating the images.  I meant:
use a pipeline like

    djpeg -scale 1/4 | cjpeg

That's how I usually do it.  Main disadvantage is the scale factor has
to be 1/2, 1/4, 1/8, etc., not arbitrary amounts like 0.3456.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to