Thanks for the link. The annotation does work on the first
page but the swap doesn't seem to be processing correctly.
On a 12 page tiff, page 12 becomes page 1 and there is no
longer a page 1. I'm still messing with it trying to get it
to work but you definitely pointed me in the right
direction. Thanks very much
>>> Anthony Thyssen <anthony griffith.edu.au> 12/4/2006 7:04 PM >>>
"Justin Miller" on wrote...
| Is it possible to use convert to annotate just the first
page of a multi-page tiff?
|
| My command line is:
|
| convert -fill black -pointsize 36 -draw "text 10,50
'some text here" +matte f225.tif zzz.tif
|
| if I add [0] to the input file, I only get that page in
the output file
|
| Any help appreciated
|
Yes...
But first, read the image BEFORE processing it.
second you are missing a quote charcater for the drawn
string.
Third see the example
http://www.cit.gu.edu.au/~anthony/graph
ics/imagick6/animations/#frame_mod
Yes the example is for an animation, but an animation is
just a
multi-image sequence, exactly the same as what you have...
Solution...
convert f225.tif
( -clone 0 -fill black -pointsize 36
-draw "text 10,50 'some text here'" )
-swap 0,-1 +delete
zzz.tif
You can replace the -draw with, the more advanced and
simpler
-annotate +10+50 'some text here'
annotate will also let you rotate or slant the text
overlayed on the image...
see...
Text Rotation with Translation
http://www.cit.gu.edu.au/~anthony/g
raphics/imagick6/annotating/#text_rotation
Enjoy, and let us know how you go.
Anthony Thyssen ( System Programmer ) <A.Thyssen griffith.edu.au>
-----------------------------------------------------------
------------------
/Earth is 98% full. Please delete anyone you can! -
rec.humor.funny
-----------------------------------------------------------
------------------
Anthony's Home is his Castle http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|