Re-sizing images in Python?

Darren Watson Darren.Watson3 at ntlworld.com
Sat Jul 14 20:06:27 EDT 2001


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