Results 1 to 3 of 3

Thread: Transparent Blitting

  1. #1
    Addicted Member
    Join Date
    Jul 00
    Posts
    225

    Transparent Blitting

    Hiyas,

    I know the standard method of transparent blitting with BitBlt... However, in this case, I cannot have a 2nd black and white image mask.

    I have a BMP, and I'm using the colour purple for areas I want transparent...

    How can I blit with this image?

    Thanks,

    -Git

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 00
    Location
    Ontario, Canada
    Posts
    5,134
    TransparentBlt - It's not supported by Msoft, memory leaks GALORE! Stuff like that, but if it's your only option... Well, I believe that somewhere there is code to let you blit tranparently (3 steps?) without a mask.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Member Stef's Avatar
    Join Date
    May 01
    Posts
    41
    Or you could generate a mask at runtime
    Or use directdraw and a colorkey

Posting Permissions

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