Results 1 to 4 of 4

Thread: Black and White images ??

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Lisbon, Portugal
    Posts
    55

    Smile Black and White images ??

    Hi, anyone can tell me whow can I show a image in Black and white?
    That image is in a image control (I know this control has somo limitations )

    Thanks,

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    You'll need a picturebox instead.. that's for sure

    hm, think we already had that topic... go search the archive
    Last edited by Fox; May 29th, 2001 at 10:00 AM.

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    Lisbon, Portugal
    Posts
    55

    Smile

    yes I have to use a picture box, but how can I put the image in Black and white?

    Thanks

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If it's true B & W ---
    You'll have to convert to HSB, the if the B < 128 then it's black, over it's white.

    Use Setpixel/Ddraw to do this.

    I know it seems like a lot, but easy is destroyed in VB.
    (but you will get good results)
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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