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
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
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
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
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