Python Image Resize Problem

Giulio borrini at libero.it
Thu Dec 21 10:30:30 EST 2000


> Hi guys,
>
> this is my first message..
> I've a problem with the resize of a jpeg.
> The original image is very big with a resolution of 150 pixel per inch.
> I use this to resize:
> _______________________________________________
> pip = pip.resize((dimenx,dimeny),Image.BICUBIC)
> enhancer = ImageEnhance.Sharpness(pip)
> pip = enhancer.enhance(fact)
> _______________________________________________
>
> The problem is that the resulting image is very bad
> (i can see the pixel or is too blur depending of "fact" ) quality and have
a
> resolution of 72 pixel per inch.
>
> How can i manain the original resolution and have a good quality even on
> image of 1/10 size of the original???
>
> Thanks in advance.
>
> Regards
>
> Giulio Borrini
> Web Programmer
> Netbuilder Snc
>
>
>





More information about the Python-list mailing list