Going Scatty
Posted: 2016-06-01T23:41:44-07:00
Hi
I draw text onto a blank canvas of correct size:
mogrify -pointsize 20 -font Helvetica -define png:format=png32 -fill snow -stroke black -strokewidth 5 -draw text 2,22 "look at the huge telescope" -stroke none -draw text 2,22 "look at the huge telescope" /dev/shm/record12.png
perfect.
file /dev/shm/record12.png /dev/shm/record12.png: PNG image data, 177 x 29, 8-bit/color RGBA, non-interlaced
Now I draw a short line
mogrify -pointsize 50 -font Helvetica -define png:format=png32 -fill snow -stroke black -strokewidth 5 -draw text 2,54 "hi" -stroke none -draw text 2,54 "hi" /dev/shm/record11.png
uh uh
file /dev/shm/record11.png /dev/shm/record11.png: PNG image data, 54 x 69, 8-bit colormap, non-interlaced
I've tried everything I've been able to google and man pages without any joy.
imagemagick 8:6.8.9.9-7ubunt amd64 an earlier version works correctly. How do I force behaviour?
On the earlier version I use color "white" here "white" makes greyscale images.
Thanks
James
I draw text onto a blank canvas of correct size:
mogrify -pointsize 20 -font Helvetica -define png:format=png32 -fill snow -stroke black -strokewidth 5 -draw text 2,22 "look at the huge telescope" -stroke none -draw text 2,22 "look at the huge telescope" /dev/shm/record12.png
perfect.
file /dev/shm/record12.png /dev/shm/record12.png: PNG image data, 177 x 29, 8-bit/color RGBA, non-interlaced
Now I draw a short line
mogrify -pointsize 50 -font Helvetica -define png:format=png32 -fill snow -stroke black -strokewidth 5 -draw text 2,54 "hi" -stroke none -draw text 2,54 "hi" /dev/shm/record11.png
uh uh
file /dev/shm/record11.png /dev/shm/record11.png: PNG image data, 54 x 69, 8-bit colormap, non-interlaced
I've tried everything I've been able to google and man pages without any joy.
imagemagick 8:6.8.9.9-7ubunt amd64 an earlier version works correctly. How do I force behaviour?
On the earlier version I use color "white" here "white" makes greyscale images.
Thanks
James