Results 1 to 2 of 2

Thread: Saving created bitmap as 16, 256, or 24-bit color format

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    11

    Question Saving created bitmap as 16, 256, or 24-bit color format

    Hi there,
    I'm a newbie in the world of device contexts and bitmaps.

    Here's what I'm trying to do:

    I have working code to take a screen shot of the entire desktop and save it as a bitmap file. However, since I'm using a bitmap object tied to the device context and that seems to rely on the color setting of my current windows setting (which is at 24-bit color) I can only save this bmp file at 24-bit color format. This takes up alot of room.

    I was wondering if there is some clever code to save my bitmap files
    into more simple formats such as 16 color or 256 color--regardless of what my current desktop color setting is.

    Any practical code examples would be greatly appreciated.
    Thanks for your help.

  2. #2
    Fanatic Member PsychoMark's Avatar
    Join Date
    Feb 2001
    Location
    Netherlands
    Posts
    540
    Teaudirenopossum.Musasapientumfixaestinaure.
    (I can't hear you. There's a banana in my ear)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width