CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    24bpp -> monochrome?

    Hi there,

    I'm trying to write an application that gets a bitmap from a scanner, then saves the image. The scanning works fine, problem is, I only want a monochrome image but the TWAIN package is returning a 24 bpp bitmap (albiet in the black & white I requested, yippie).

    Does anyone know how I can take this 24 bpp bitmap and make it monochrome?

    I know it sounds simple but I've been pulling my hair out. I suspect there's a way to use the BitBlt API call or something similar, but I haven't used these before.

    Anyone's help is greatly appreciated, even if it's just a link to some documentation..

    Thanks again,

    Mike


  2. #2
    Join Date
    Jul 1999
    Posts
    145

    Re: 24bpp -> monochrome?

    Try www.vbaccelerator.com, lots of useful stuff there for graphics programming


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