Results 1 to 1 of 1

Thread: Reading Bitmaps

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Frodo_Baggins's Avatar
    Join Date
    Feb 2004
    Location
    Sao Paulo, Brazil
    Posts
    397

    Reading Bitmaps

    Well, here is a code I made as a substitute to the LoadPicture function for a picture box. The difference is that you have control over each step of the process, and you can save all the pixel data into an array. This is helpful for analyzing images mathematically (as opposed to graphically).
    Usually I'd display the image and use GetPixel API to check for the color of a certain pixel; this way is more practical and efficient.

    Edit:
    There was some trouble with the padding; it's now fixed.
    Attached Files Attached Files
    Last edited by Frodo_Baggins; Dec 26th, 2005 at 08:14 AM.
    Ash Nazg durbatuluk, Ash Nazg gimbatul, Ash Nazg tharkathuluk, Agh barzum-ishi krimpatul.

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