Opening a bitmap file for editing

jedbartlet

Member
Joined
Sep 10, 2004
Messages
20
Location
UK
I was wondering if anyone could give me some help on the best way to open a bitmap file. My main objective is to open a file and manually change some of the pixel values. I know how to open standard text files but dont know how to open a bitmap file. Im aware that a bitmap contains a header file which tells you the image size and other details. By the way im using vc++. Thanks in advance.
 
You can create a bitmap object, which has a constructor that accepts the filename, use the SetPixel() method, and resave the bitmap. Im not sure if this will do exactly what you want.
 
Back
Top