I need some help doing the following in C++: I have to read an image file (.bmp, .jpg, etc.) and as a result I have to form a pixel matrix in the form of an one-dimentional array. Is there a library I should use or any functions available for this purpose?
Thank you!