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?
Asked
Active
Viewed 688 times
-1
-
What you have tried yet ? – Mayank Pandeyz Feb 08 '17 at 09:49
1 Answers
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
-
thanks for your quick reply and i need to resize image by calling imagick commands in php – shruti Akki Feb 08 '17 at 11:59
-