Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


imagemagick_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

imagemagick_notes [2010/10/28 11:38] (current)
juckins created
Line 1: Line 1:
 +<code>
 +#centers text at bottom
 +montage -label "Faerie Dragon" 201010211800_a.png -geometry +0+0 -background black -fill white 201010211800_a.png
  
 +# at top, on image, centered
 +convert 201010211800_a.png -fill white -undercolor black -gravity north -annotate +0+0 'Faerie Dragon' 201010211800_a_label.png
 +
 +system ("convert -colors 8 -size 895x49 xc:white -font Helevetica \\
 +                -pointsize 28 -gravity center +dither \\
 +                -fill black \\
 +                -annotate 0x0+0-9 \"$title\" \\
 +                -pointsize 18 \\
 +                -annotate 0x0+0+11 \"$subtitle\" \\
 +                header.gif"); 
 +
 +
 +
 + $text = "convert wind_table_template.gif -font Helvetica -pointsize 22 -fill
 +black";
 +
 +        $text .= " -gravity north -annotate 0x0+0+30 'Intensity (Maximum Wind
 +Speed) Probability Table'";
 +
 +        $text .= " -annotate 0x0+0+60 '$stormName Advisory Number
 +$advisoryNumber'";
 +
 +        $text .= " -annotate 0x0+0+90 '$advisoryTimeLine'";
 +
 +        $text .= " -pointsize 22";
 +
 +</code>
imagemagick_notes.txt ยท Last modified: 2010/10/28 11:38 by juckins