-annotate fails 1-bit tiffs
Posted: 2012-09-20T05:46:00-07:00
This will create a 1-bit TIFF with a white background and black text:
This will create the same image without the text:
However, I can't annotate the justcanvas.tif file with this code:
If I omit "-depth 1" from the canvas creation script, the annotation script works.
-Brian
Code: Select all
convert -size 3000x300 -depth 1 canvas:white -gravity east -fill black -pointsize 200 -annotate +0+0 "TEST STRING" withtext.tif
Code: Select all
convert -size 3000x300 -depth 1 canvas:white justcanvas.tif
Code: Select all
convert justcanvas.tif -gravity east -fill black -pointsize 200 -annotate +0+0 "TEST STRING" annotated.tif
-Brian