I would like to read a PNG image file using C (a c++ code is also acceptable) and store the data in an array. Does anyone know a library or bunch of code or a blueprint for how to do that?
I know libpng and imagmagik. However; I want see the code and structure of it. I want to learn how a code do that.