Jim Tittsler wrote:

> You could modify PIL to stay away from this degenerate
> condition by adding y=max(1,y) and x=max(1,y) rules to the
> aspect ratio calculation in Image.py.

this was fixed in a recent 1.1.5 beta.

> But I'd think you might be better served using image.transform

or just a plain im.resize()

> and *not* attempting to maintain the aspect ratio in cases like this.
> Is a 1 pixel high thumbnail useful?

</F> 



_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to