Code: Select all
Version: ImageMagick 6.5.7-0 2009-11-07 Q16
Tagged Image File Format (LIBTIFF, Version 3.9.1)
This command produces a grayscale image:
Code: Select all
convert -colorspace RGB label:'This is a test' cstest.tiff
I was obtaining some help in a different thread with this command. I was looping through ASCII characters and using ImageMagick to write out separate files containing each character for some OpenGL font rendering. The aim here is to render an anti-aliased character into the alpha channel and have the RGB fully white.
Code: Select all
convert \( -background black -fill white -pointsize 50 label:A \) \
\( +clone -threshold -1 \) \
-alpha off +swap -compose copy_opacity -composite font.65.tiff
If you substitute the '.tiff' for '.tga' then the results are correct for the TGA version.
http://www.asura.co.uk/font.65.tiff (incorrect version using TIFF)
http://www.asura.co.uk/font.65.tga (correct version using TGA)
I hope this helps. Thanks.