CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    10

    Displaying 24 Bit bitmaps?

    Anyone know how to display 24 Bit bitmaps?

    Thanks in advance,
    b@ckflip


  2. #2
    Join Date
    Apr 1999
    Posts
    53

    Re: Displaying 24 Bit bitmaps?

    Try using the functions DDBtoDIB and DrawDIB, from the Bitmap and Palette section
    of this site.

    In DrawDIB, if there are more than 256 colors,
    you should perhaps call
    CreateHalftonePalette() and still create and
    realize a halftone palette --
    this will give you sme sort of display on any display setting. The colors may not look too good, though...


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

Featured