Google
  Web www.spinics.net

Re: [Gimp-user] creating thumbnails from a script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tuesday 28 August 2001 06:05 pm, Glen Lee Edwards wrote:
> I've been given over 200 jpg images that need to be thumbnailed.  Is there
> a way from gimp to do this from a script or from the command line?

The easiest way is by using the magnificent convert command:

convert -geometry <width>x<height>

So, to quickly create 60x60 thumbnails of an entire directory of jpeg files 
(and to name each of the thumbs t_<file>), you'd type:

for i in *; do convert -geometry 60x60 $i jpeg:t_$i; done

--Joel

> Thanks,
>
> Glen
> _______________________________________________
> 
> Gimp-user@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Home]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Yosemite Book Store]     [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Script Fu]

Add to Google amazon