-1

I want to write text on an image using PHP by calling ImageMagick commands, like uploading an image and editing text on the image. How can I do that?

Benjamin W.
  • 46,058
  • 19
  • 106
  • 116

1 Answers1

0

There are a lot of classes that will help you doing this, my favorite is https://github.com/claviska/SimpleImage. There is also a stackoverflow post how to convert text into an image convert text to image in php. With this combination you are able to reach what you want I think.

You'll need the function ->overlay('watermark.png', 'bottom right') of the SimpleImage class.

Community
  • 1
  • 1
N. Hamelink
  • 603
  • 5
  • 14