How to get all the pixel data (RGB) of an image through c++
<p>From a JPG or PNG file, I want pixel data in the form of 2D array.<br>
What is the procedure to do it OR which libraries can do that task?</p>