jedbartlet Posted February 27, 2005 Posted February 27, 2005 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 don't know how to open a bitmap file. I'm aware that a bitmap contains a header file which tells you the image size and other details. By the way i'm using vc++. Thanks in advance. Quote
Leaders snarfblam Posted February 28, 2005 Leaders Posted February 28, 2005 You can create a bitmap object, which has a constructor that accepts the filename, use the SetPixel() method, and resave the bitmap. I'm not sure if this will do exactly what you want. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.