I would like to upload an image, and then automatically add a watermark (text or image), but not over the image, I want it outside the image, How can I do this with PHP? and at the same time if the image is too small adapt the watermark to always fit properly
Please see image below to see what I mean and the desired results
Original Image: https://i.stack.imgur.com/SSFEL.png
Uploaded Image: https://i.stack.imgur.com/GOIt4.png
Same image but last one with the watermark on it.
This is not the most automated in terms of determining text placement (you can do that), but it's a start: