Chris Ferry on wrote... | All, | I'm trying to generate an image of text provided by a text input form. | | Using the following convert command: | /opt/ImageMagick-6.3.4/bin/convert -size 710x339 -background | transparent -gravity north -fill "rgb(0, 190, 118)" -font /opt/fonts/ | ARIAL.TTF -pointsize 46 -annotate +0+0 "01234567890123456789 | 0123456789 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9" /tmp/txt.png | | This creates an image with the all the text up to the last "6", but | that "6" is cut off. | | How can I prevent convert from rendering text that is cut off? | Either remove -size or change it to -size 710x so that it will expand the height of the image to fit the text.
OR remove -pointsize and liek IM size your text for 'best fit' See IM examples, Text handling, Lables http://imagemagick.org/Usage/text/#label Which goes through all this. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- Don't explain computers to laymen. Simpler to explain sex to a virgin. --- Robert Heilein, "The Moon is a Harsh Mistress" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
