reading bitmaps in visual c++ ?

Started by
0 comments, last by Dybbuk 19 years, 7 months ago
I have visual c++ .net and I want to make a simple 2d bitmap plotting library using a little bit of inline assembly to plot pixels. What I need to know how to do is read bitmaps (preferabbly from a resource) pixel by pixel. Is there a way to read each pixel from a bitmap without using directx or any other package?
Advertisement
The standard function : loadFromFile() or something doesn't work because it doesn't give you access to the pixel data.
But if you manually crate a bitmap you do get one.

Look at the win32 tutorials @ www.gametutorials.com for a tutorial

This topic is closed to new replies.

Advertisement