[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Batch Process Images - Debian
On Thu, 2007-10-11 at 11:52 +0000, Lesley Anne Binks wrote:
> Richard Ibbotson <richard@xxxxxxxxxxxxxx> wrote :
>
> > Hello there
> >
> > Was wondering if anyone out there might know how to do this. Had a
> > look round with Google but I can't find exactly what I want.
> >
> > I want to batch process about 100 photographs. I think I can do that
> > with Gimp but command line might also work ? I want to reduce
> > pictures that are 3Mb in size down to about 300k or thereabouts so
> > that I can upload them to the internet for a slide show. My
> > workstation is Debian Etch stable.
> >
> > Anyone any ideas ?
>
I use this script I wrote to convert my large images to thumbnails. The
convert app is part of imagemagick which as Lesley says is available as
a package.
Robin
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: genthumbnails [filenames]"
exit 1
fi
if [ ! -d "thumbs" ]; then
mkdir thumbs
fi
for filename in $(ls $1); do
convert -geometry "240x180" $filename ./thumbs/$filename
done
> ImageMagick http://www.imagemagick.org/script/index.php
>
> should be able to process the images using that including
> thumbnail creation
>
> Try
>
> apt-cache search ImageMagick
>
>
> Regards
>
> L.
>
>
>
>
>
> _______________________________________________
> Sheffield Linux User's Group
> http://www.sheflug.org.uk/mailfaq.html
> GNU - The choice of a complete generation
--
Robin Wood
Director
Freedom Technology Services Ltd
Company Registration Number: 05706465
------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law.
If the reader of this message is not the intended recipient you are
hereby notified that any distribution, copying, disclosure and use of,
or reliance on the contents of this transmission is strictly
prohibited.
If you have received this transmission in error, please notify us
immediately by return e-mail and destroy the transmission by deleting
the original message, attachments and all copies.
_______________________________________________
Sheffield Linux User's Group
http://www.sheflug.org.uk/mailfaq.html
GNU - The choice of a complete generation