I am looking to work with PNG format inside of either C++ or C#. I can't find any documentation on how to convert a PNG into a 2D array of bytes/floats which represent the colors on the image.
What I want to achieve:
If someone could supply me with any documentation, source code or a C#/C++ library/dll that would be great.
Preferrably as C++ and without using any Windows specific library.
Use libpng, the official PNG library.
Specifically, this page has all of the information on how to open and read.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With