View Full Version : Read pixels from a bitmap image to a array
could you please teach me how to use visual c++ read the pixels from a bitmap image into program array(or some parameter)??
03-07-2004, 10:09 PM
What do you mean with bitmap ? if you mean a windows bitmap image (bmp/dib) then you can find tons of this on google, this is not related to opengl so don't expect to find anything about it here.
If you want to read data from the opengl framebuffer you can use glReadPixels.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.