Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Bmp Pixel Converter (http://www.programmingforums.org/showthread.php?t=8846)

thomas41546 Mar 13th, 2006 7:10 PM

Bmp Pixel Converter
 
Hi,

I am looking for some code that could convert all the pixels in a BMP file into seperate characters. These characters are either a 1 or 0.

For example, a bmp file that displays 3 black dots in a row followed by 2 white dots is converted into a file that has the following characters
Quote:

File.txt Contains:
11100
Incase your wondering why I would need this, it is so I can compare the parts of the bmp with a set values in order to determine what shapes are present.

I am new with visual basic, I do not know any functions that handle BMP files. All I would actually need is something that loads the pixcels from a BMP.

Thank You, :D

thomas41546 Mar 13th, 2006 9:10 PM

Dont bother replying, I found a bmp2raw converter.
I didnt even know what Raw was, I just learned about it :).


All times are GMT -5. The time now is 6:42 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC