This will create a 1-bit TIFF with a white background and black text:
convert -size 3000x300 -depth 1 canvas:white -gravity east -fill black -pointsize 200 -annotate +0+0 "TEST STRING" withtext.tif
This will create the same image without the text:
convert -size 3000x300 -depth 1 canvas:white ...
Search found 3 matches
- 2012-09-20T05:46:00-07:00
- Forum: Bugs
- Topic: -annotate fails 1-bit tiffs
- Replies: 3
- Views: 4440
- 2012-09-20T05:38:54-07:00
- Forum: Users
- Topic: Odd behavior: -annotate
- Replies: 3
- Views: 3932
Re: Odd behavior: -annotate
Thanks for the response, Fred.
The results of your script are the same as mine; an empty canvas. I'm going to have to create an 8-bit tiff then convert to 1-bit, I guess.
I added my details in the signature; thanks for the reminder!
-Brian
The results of your script are the same as mine; an empty canvas. I'm going to have to create an 8-bit tiff then convert to 1-bit, I guess.
I added my details in the signature; thanks for the reminder!
-Brian
- 2012-09-19T12:49:24-07:00
- Forum: Users
- Topic: Odd behavior: -annotate
- Replies: 3
- Views: 3932
Odd behavior: -annotate
This will create a 1-bit TIFF with a white background and black text:
convert -size 3000x300 -depth 1 canvas:white -gravity east -stroke none -fill black -pointsize 200 -annotate 0 "TEST STRING" withtext.tif
This will create the same image without the text:
convert -size 3000x300 -depth 1 canvas ...
convert -size 3000x300 -depth 1 canvas:white -gravity east -stroke none -fill black -pointsize 200 -annotate 0 "TEST STRING" withtext.tif
This will create the same image without the text:
convert -size 3000x300 -depth 1 canvas ...