how to use imaageop.scale

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed May 23 04:01:05 EDT 2007


In <1179903754.084688.312200 at w5g2000hsg.googlegroups.com>, Bruce wrote:

> Hi, I want to compress a jpg file. e.g. a jpg file which has RGB band
> (24bit per pixel), 100 * 100 size to 50 * 50 size. I
> tried to use scale function in imageop module but failed. Any
> suggestions about this? Thanks!

I guess you are talking about the Python Imaging Library (PIL) here?  What
have you tried and in which way did it fail?

What about the `resize()` method on image objects?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list