I looked for quite a while and even tried to find adequate documentation of the PNG format, but to no avail.
Are any of you aware of a module that is able to load a PNG file and then give me in-code access to the image data, so i can query the rgb value of any arbitrary pixel like such:
I don't particularly care whether it is done in functional style or object, just that it gives me low-level access. If possible though i'd prefer a perl-only solution, since this is meant to be run on windows without cygwin available. I can work around that though if that's not possible.
Update for anyone stumbling over this: In the end i used OpenGL::Image, which calls onto ImageMagick's "ImageToBlob".