I’m looking at generating images on the fly in response to web requests. I’ve already created this in Go, but I want to compare it to PHP.

Specifically, I’m curious about two things - the tools available for creating images pixel-by-pixel, and the libraries/packages available for assembling images in more abstract ways, like with geometry helper methods.