Makewebimages


Description

Makewebimages is a script that bulk-processes your image-files into a complete web-gallery. It will make web-sized images and thumbnails, all with the sizes you specify. The script is command-line driven with no GUI.

User requirements

You should be familiar with unix-shells. If you don't know what this is, obtain a Linux-installation and start learning, or stop reading right here and make a cup of tea and do your normal stuff instead. Sucker. You also should be able to use a text-editor, like emacs or vi. I have intentionally used these requirements as a basis for this program, so that one can use other than a stinky (but popular) web-interface for image manipulation. This yields for easy use for the experienced, and hell for the unexperienced. The unexperienced is probably drinking a cup of tea right now, so you, as the experienced, should go put on a pot of coffee. This is what men do. They drink coffee and use makewebimages as their favourite script for image manipulation for web-use.

Problems

Text-alignment does not work as it should on all computers. Seems like different fontsets on different computers gives different results.

System Requirements

  • Linux machine (I'm using Debian)
  • Perl (www.perl.com)
  • The Unix convert program installed on your system. An X11 program.

Download

Download the script in gzip-format: makewebimages.tgz
View the script with syntax-highlighting: makewebimages.html

Example of usage

Convert all your images in the /home/drit/images_new/ folder into a webgallery with images of maximum size 800x600 and with the text "Copyright © 2001 - driten" to the folder /home/drit/galleries/new_gallery/ :
%> makewebimages -i /home/drit/images_new/ -o /home/drit/galleries/new_gallery/ -h 800 -w 600 -t "Copyright © 2001 - driten"
That should do the trick. And remember, large image-files takes LONG to process. Be patient bitch.

Notes to self:

Convert
Montage (http://support.imagiware.com/info/images/ImageMagick/montage.html)
ImageMagic FAQ - http://support.imagiware.com/info/images/ImageMagick/Magick.html#C13

Don't contact me, I'll have my people contact your people.


Printer friendly | The regular, bad, site
Send me an