Santanu
Santanu

General

photo album : imagemagick (part -1)

Another technote on Magick

A description of cover image.

Quick and dirty way of creating photo album with imagemagick, creating

images with black border as it looks good for all

imagemagick bash
#!/bin/cshset files = `echo [0-9]*.jpg`echo $filesforeach file ( $files )set w = `identify \ -format "%w" $file`set h = `identify -format "%h" $file`if ($w > $h) then convert $file \ -thumbnail 500X -bordercolor black -border 1 /tmp/foo100/$fileelse convert $file -thumbnail X500 \
-bordercolor black -border 1 /tmp/foo100/$fileendifend
4 Nov   2005

Part -2

Pho Script continue

30 Oct   2005