Skip to main content
GameDev.net gamedev.net
🔒 Locked

reading bitmaps in visual c++ ?

Started by jimiwa Oct 14, 2004 at 9:55 AM 0 replies 350+ views
Original Post
jimiwa
jimiwa
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?
Dybbuk
Dybbuk
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.