Suppose I’ve a bitmap file(a.bmp). I want to read it. I want to get the pixel values of this bitmap file. Then I want to store these pixel values in a text file.
Then I want to draw that image on opengl window.
Then I would change some pixel values and save it as b.bmp. The b.bmp will not be same as a.bmp.
How can I do this with opengl? Can someone post sample code?
Any answer will be highly appreciated.
Thanks in advance.