msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

20 Apr 2007 List fonttypes imagemagick supports

identify -list Type

Tags: ,

Posted by

12 Apr 2007 Get the dimensions of most images from the command line

identify filnavn.jpg

Resultatet av denne kommandoen er da på formen

JPEG 510×445 510×445+0+0 DirectClass 8-bit 24.8691kb

Tags: ,

Posted by

02 Feb 2007 Improved watermark script with imagemagick

#!/bin/bash
# Use a shell loop
#mkdir thumbnails
if [ ! -f *.JPG ] ; then
        echo "Ingen filer tilgjengelig!"
else
for file in *.JPG
do
        width=`identify -format %w ${file}`; \
        convert -background '#0008' -fill white -gravity center -size ${width}x90 \
        -font Sketchy  -pointsize 50 \
        caption:"Copyright © 2007 Pario.no" \
        +size ${file} +swap -gravity north -composite  thumbnails/${file};
#       rm ${file}
done
fi

Tags: , , , ,

Posted by