Results 1 to 2 of 2

Thread: Reading an image file

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You don't have to; use the Picturebox control. Load your bitmap into it and use either the internal Pset and Point functions, or the faster GetPixel and SetPixelV API functions. Converting to grayscale is also easy. Some say that you can just add the red, green, and blue channels but it isn't that easy; you need to weight each differently.

    I suggest looking up all of these, and soon you'll be ready to .SavePicture your bitmap to the disk!

    If you need an example, message me.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Hyperactive Member Kirun's Avatar
    Join Date
    Oct 2001
    Location
    Karachi , Pakistan
    Posts
    333

    yeh sure

    yeh if you plz can send me some example . then it would be better

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