Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 13th, 2006, 7:10 PM   #1
thomas41546
Newbie
 
thomas41546's Avatar
 
Join Date: Aug 2005
Location: Alberta, Edmonton
Posts: 16
Rep Power: 0 thomas41546 is on a distinguished road
Send a message via MSN to thomas41546
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,
__________________
My website: http://68.149.191.84
Don't you wonder what this says?
Make sure you strip the code, of "\n".
V293LCBJIGNhbid0IGJlbGlldmUgeW91IGFyZS
ByZWFkaW5nIHRoaXMsIGdvb2Qgam9iIDopIGF
uZCB2aXNpdCBteSB3ZWJzaXRlIGF0IGh0dHA6L
y82OC4xNDkuMjAzLjE0NCwgaXRzIG5vdCBhbHdh
eXMgdXAu
thomas41546 is offline   Reply With Quote
Old Mar 13th, 2006, 9:10 PM   #2
thomas41546
Newbie
 
thomas41546's Avatar
 
Join Date: Aug 2005
Location: Alberta, Edmonton
Posts: 16
Rep Power: 0 thomas41546 is on a distinguished road
Send a message via MSN to thomas41546
Dont bother replying, I found a bmp2raw converter.
I didnt even know what Raw was, I just learned about it .
__________________
My website: http://68.149.191.84
Don't you wonder what this says?
Make sure you strip the code, of "\n".
V293LCBJIGNhbid0IGJlbGlldmUgeW91IGFyZS
ByZWFkaW5nIHRoaXMsIGdvb2Qgam9iIDopIGF
uZCB2aXNpdCBteSB3ZWJzaXRlIGF0IGh0dHA6L
y82OC4xNDkuMjAzLjE0NCwgaXRzIG5vdCBhbHdh
eXMgdXAu
thomas41546 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:16 PM.

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