In another question I saw some source, that would export an image into .gd or .gd2 format and then read raw pixel color data from the generated source.
Is this possible? Where can I find more information about these formats, or any other, that generates a raw pixel color data sequence of some sort?
My final goal is quite simple actually. I would like to read the color data of all pixels of an image (say 1000px by 1000px), without having to call imagecolorat
a gazillion times :)