Hi
I'm pretty new to ImageMagick.
I'm trying to add a text layer on specific page in a multipage TIFF file.
When I run the command:
convert d:\temp\test.tif -font Arial -pointsize 11 -gravity Southeast -annotate +20+40 "my text" d:\temp\output.tif
Test.tif is a multipage TIFF with 8 pages.
The text layer "my text" is only showing on pages 2,4,6 and 8
It should be printed on the first page.
I've tried splitting the TIFF into single pages but that doesn't work either.
convert d:\temp\test_1.tif -font Arial -pointsize 11 -gravity Southeast -annotate +20+40 "my text" d:\temp\output.tif
Output.tif doenst' contain my text. When I run the same command but with test_2.tif it's working...
Anyone has an idea??
Annotate only working on even pages...
-
- Posts: 2
- Joined: 2016-01-21T08:21:00-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Annotate only working on even pages...
I expect there is something strange about the odd-numbered pages in your input file, such as a canvas offset. "identify verbose" may reveal the problem. "+repage" before the "-annotate" might cure the problem.
snibgo's IM pages: im.snibgo.com
-
- Posts: 2
- Joined: 2016-01-21T08:21:00-07:00
- Authentication code: 1151
Re: Annotate only working on even pages...
Hi
Works like a charm! Adding +repage before the -annotate did the trick!
Thank you very much.
Kind regards
Vincent
Works like a charm! Adding +repage before the -annotate did the trick!
Thank you very much.
Kind regards
Vincent