Re-sizing images in Python?

akhar akhar at videotron.ca
Sat Jul 14 23:11:17 EDT 2001


Look into PIL(python Imaging library) has all you need.
Stephane
"Darren Watson" <Darren.Watson3 at ntlworld.com> wrote in message
news:q6547.41446$B56.8781902 at news2-win.server.ntlworld.com...
> I would be very grateful for any advice that fellow list members can
provide
> about Pythons ability to resize image files (jpg and gif).
>
> I would like to write a script that can process all the files in a
directory
> and resize the images to a specified size (passed in as an argument).
> However, I am not sure if this is a task that Python 2.1 can perform or if
> it is, which library to use.
>
> If possible I would like the script to scale images in order to 'best fit'
a
> particular area.
>
> Many Thanks
>
> --
>
> Darren Watson
>
>
>





More information about the Python-list mailing list