Re-sizing images in Python?
Jonas Bengtsson
jonas.b at home.se
Sun Jul 15 04:22:48 EDT 2001
There is a great program that can do that (and much more). It is
called ImageMagick (http://www.imagemagick.org/). There is a Python
API to it but I havn't tested it myself.
/Jonas B
"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
More information about the Python-list
mailing list