batch for transforming images
Bruce Bales
bbales at cox.net
Fri Sep 19 17:05:22 UTC 2008
On Friday 19 September 2008 08:55:34 kokiperex at gmail.com wrote:
> > Date: Thu, 18 Sep 2008 17:26:25 -0500
> > From: Bruce Bales <bbales at cox.net>
> > Subject: Re: batch for transforming images
> > To: Kubuntu Help and User Discussions <kubuntu-users at lists.ubuntu.com>
> > Message-ID: <200809181726.25708.bbales at cox.net>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > On Wednesday 17 September 2008 08:46:28 kokiperex at gmail.com wrote:
> >> > Date: Tue, 16 Sep 2008 22:00:43 -0500
> >> > From: Bruce Bales <bbales at cox.net>
> >> > Subject: Re: batch for transforming images
> >> > To: Kubuntu Help and User Discussions <kubuntu-users at lists.ubuntu.com>
> >> > Message-ID: <200809162200.43457.bbales at cox.net>
> >> > Content-Type: text/plain; charset="iso-8859-1"
> >> >
> >> > On Monday 15 September 2008 12:21:03 Peter Klaassen wrote:
> >> >> Op Saturday 13 September 2008 21:00:06 schreef David Fletcher:
> >> >> > On Saturday 13 Sep 2008, Peter Klaassen wrote:
> >> >> > > Is thre a GUI or terminal programm that can resize
> >> >> > > all the imgaes in a dir to for instance 800 pixels width
> >> >>
> >> >> I found aut that digikam can handle these batches very well.
> >> >>
> >> >>
> >> >> --
> >> >> Peter
> >> >> Registered Linux user # 458207
> >> >
> >> > convert a bunch of pictures titled p8240???.jpg to 800x600 titled
> >> > pp8240???.jpg
> >> >
> >> > for i in p8140*; do convert -sample 800x600 "$i" p$i; done
> >> >
> >> > If you tell it "-sample 800" without the "x600," it will keep the
> >> > same form factor. You have to have imagemagick installed.
> >> > bruce
> >>
> >> I like this ones:
> >>
> >> mogrify -resize 800x600 *.jpg
> >> or
> >> mogrify -resize 800 *.jpg
> >> or
> >> mogrify -resize 50% *.jpg
> >>
> >> --
> >> Jorge
> >
> > He said all the images in a dir. To mogrify hundreds of images might
> > take a while. The script does them all at once.
> > bruce
>
> But with *.jpg you can change all the images in the dir
> ---
> Jorge
Oooh!
My mistake. I'll have to try mogrify.
bruce
More information about the kubuntu-users
mailing list