Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-18 Thread dan06
Patrick Sabin wrote: > > When I needed thumbnails of my images, I created them using ImageMagick. > ImageMagick is a very nice tool for editing images and since it is > called from the command line it is easy to invoke it from a programming > language. There are python-bindings for it, but

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread Patrick Sabin
dan06 wrote: I've recently delved into python, about a week or so ago; I'm trying to figure out how to create on-the-fly thumbnails. Are there python standard library modules I could/should use or should I use external libraries like: GD, Gimp, or ImageMagick? When I needed thumbnails of my i

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread Ajith Gopinath
import glob import Image for infile in glob.glob("*.jpg"): im = Image.open(infile) # converting to thumbnail image im.thumbnail((128, 128), Image.ANTIALIAS) im.save("thumb" + infile, "JPEG") Will this be of ur help Vince? On 15/09/2009, vince spicer wrote: > On Tue, Sep 15, 2009 at 10:0

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread vince spicer
On Tue, Sep 15, 2009 at 10:03 AM, dan06 wrote: > > I've recently delved into python, about a week or so ago; I'm trying to > figure out how to create on-the-fly thumbnails. Are there python standard > library modules I could/should use or should I use external libraries like: > GD, Gimp, or Image

[Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread dan06
I've recently delved into python, about a week or so ago; I'm trying to figure out how to create on-the-fly thumbnails. Are there python standard library modules I could/should use or should I use external libraries like: GD, Gimp, or ImageMagick? -- View this message in context: http://www.na