Re: [Gimp-user] creating thumbnails from a script | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hey, that's the Linux motto! "Do nothing by hand" ;-)
--Joel
On Wednesday 29 August 2001 10:40 am, Glen Lee Edwards wrote:
> Thanks all. convert worked great. Sure beat doing it by hand.
>
> Glen
>
> Wandered Inn writes:
> > joel wrote:
> > > 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
> >
> > OR, if you want to maintain the aspect ratio, you can use percentages as
> > in:
> >
> > convert -geometry 30%x30% $i t-${i}
> >
> > Which would reduce the image to 30% of it's original size in both width
> > and height.
> >
> > > --Joel
> > >
> > > > Thanks,
> > > >
> > > > Glen
> > > > _______________________________________________
> > > >
> > > > Gimp-user@lists.xcf.berkeley.edu
> > > > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
> > >
> > > _______________________________________________
> > >
> > > Gimp-user@lists.xcf.berkeley.edu
> > > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
> >
> > --
> > Until later: Geoffrey esoteric@denali.atlnet.com
> >
> > "I don't want a Microsoft Passport, and Microsoft can't have my wallet."
> > _______________________________________________
> >
> > Gimp-user@lists.xcf.berkeley.edu
> > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
>
> _______________________________________________
>
> 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]
![]() |
![]() |