I'm working on a script right now that used GD heavily, specifically the imagesetpixel() function.
The script is taking a stream of raw pixel color data and converting it to a PNG/JPG file to display in a browser.
This script routinely handles images larger than 1000 pixels on a side and when every pixel is being set it can take the script up to 20 seconds to process a single image.
I need a faster way of getting raw pixel data into GD that doesn't involve an external program.
I've exhausted everything I can think of, does anyone have suggestions?