Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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.
  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...