Page 1 of 1

Creating curved text

Posted: 2012-04-25T04:24:57-07:00
by Anandkv
Hi all,

I have tried to create text curve to adopt in all available area with the given width and height

Code: Select all

convert -resize 300x108! -font arial -pointsize 71 label:' HEAT ' -virtual-pixel background -background none -distort arc 75 test_image.png
But, i got image in blur and it is not clear. Given below the output which i got from this convert command.
Image

But i would like to get the image like the url given below.
Image


Thanks,

Re: Creating curved text

Posted: 2012-04-25T09:19:30-07:00
by fmw42
Set your -fill color to white, your background to red and most important put the resize at the end, then add -trim.


convert -background red -fill white -font arial -pointsize 71 label:' HEAT ' \
-virtual-pixel background -background red -distort arc 75 -resize 300x108! -trim +repage test_image.png

Re: Creating curved text

Posted: 2012-04-26T02:10:43-07:00
by Anandkv
Thanks for the reply..

i am not concerned with the text color and background. I am only concerned with the text angle and curve. In the above given images, the angle is completely different with the expected result. Kindly please provide a solution for it.

Thanks,

Re: Creating curved text

Posted: 2012-04-26T09:42:31-07:00
by fmw42