1,234
edits
Changes
→Specs
convert -background lightblue -fill blue -font AvantGarde-Book -pointsize 72 result.png
That will create "result.png" on the server (make sure Apache has permissions to write to that directory) and return the URL to the client which will replace the image without reloading the page. You cannot use a frame or iframe, you have to use XMLHttpRequest.
It doesn't matter what size the image is or what colours you use as long as the result is clearly visible.