4 ms·
> Why would a drawing API be needed on a server? For headless rendering? 15 years ago I was driving GD and ImageMagick from PHP to render things like staff ID
by core-questions 6y ago
> Why would a drawing API be needed on a server? For headless rendering?
15 years ago I was driving GD and ImageMagick from PHP to render things like staff ID cards, barcode labels for things, etc.
It was trivial to write a script that would render something quickly and just output raw image data, so you could <img src="whatever.php?name=Joe&department=Meat" /> and the image would be dynamically created and sent with the right MIME type.
Plenty of great use cases for this.