On 04/28/2015 11:27 AM, Steve Greig wrote:
I have about 60 large jpg files in a directory. They are almost all
over 2MB in size. I want to put them on the internet but wanted to
make a thumbnail version and a small version (about 75KB) of each one
so the web page does not take too long to load. Normally I just open
them in GIMP and modify them and save the smaller versions. Because
there are 60 this is going to take quite a lot of time.
Is there a utility available for Debian that could do them all. I
imagine one could write a bash script invoking imagemagick but I have
never written a bash script or used imagemagick so might be quite out
of my depth there.
Any ideas would be very much appreciated, Steve
I use igal2.
aptitude install igal2
move to your directory with your .jpg files
igal2 -c
creates a .caption file which you can edit to creation captions for each
jpg. (There's also an .indextemplate.html file you can further customize.)
then
igal2 -c --bigy 600
to create an index with thumbnails, along with "thumbnails" of 600
pixels wide which open when clicked on from the index, which themselves
open into the original-sized jpg. If you later want to resize the
thumbnails, you'll have to add the "-f" to force a resizing.
Easy-peezy.
--
Kent West <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/553fb9d9.6010...@acu.edu