IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Anandkv
Posts: 14 Joined: 2009-11-18T06:54:09-07:00
Authentication code: 8675309
Contact:
Post
by Anandkv » 2012-04-25T04:24:57-07:00
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.
But i would like to get the image like the url given below.
Thanks,
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
Post
by fmw42 » 2012-04-25T09:19:30-07:00
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
Anandkv
Posts: 14 Joined: 2009-11-18T06:54:09-07:00
Authentication code: 8675309
Contact:
Post
by Anandkv » 2012-04-26T02:10:43-07:00
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,
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:
Post
by fmw42 » 2012-04-26T09:42:31-07:00
Users browsing this forum: No registered users and 21 guests