[ImageToolbox] How to add text to the image?

[ImageToolbox] How to add text to the image?

  
Forge Component
(7)
Published on 4 Jan by Breno Nico
7 votes
Published on 4 Jan by Breno Nico

Hi,

I need to add some text to the image and I've tried to use this options " -pointsize 72 label:Hello  " but the returned image is exactly the same.

Should the examples from this documentation work http://www.imagemagick.org/Usage/text/ ? Or there should be additional steps to achieve this?


Thank you.

Cheers,

Nick

Mykola (Nick) Tkachenko wrote:

Hi,

I need to add some text to the image and I've tried to use this options " -pointsize 72 label:Hello  " but the returned image is exactly the same.

Should the examples from this documentation work http://www.imagemagick.org/Usage/text/ ? Or there should be additional steps to achieve this?


Thank you.

Cheers,

Nick

Hey Nick,

i never used imagemagick. But check this example:

http://jsfiddle.net/amaan/WxmQR/1/

i think from here you can create a weblock to create the image.

Cheers!


Reference:

https://stackoverflow.com/questions/12328714/convert-text-to-image-using-javascript