The only issue is there seems to be a lot of data bytes that appear to do nothing before the image file. I need to find the file format to find out what it all does!
The only issue is there seems to be a lot of data bytes that appear to do nothing before the image file. I need to find the file format to find out what it all does!
Well, the first link i've posted was for an old BMP format i think, sure there's other info on much recent format such as 24, 32 bits one somewhere.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
You should be able to find some info a long with source code on PSC that explains the file structure of a Bitmap. I don't think the format of them is terribly
complex, nothing anywhere near as difficult as a jpeg or animated gif. Happy searching! http://www.planetsourcecode.com
Here is a link for the BMP format..
http://www.odec.ca/projects/2004/chi...mpresearch.htm
Anyone have any ideas for code to extract the pixel data? I would suspect it to be something like open the .BMP for read, then open an ASCII file for write, and then stream the data through the PIC...
I have an application coming up where I need to determine the randomness of dots in a balck and white BMP image. I'll post anything I come up with here... stay tuned
Bron
The less you expect, the more you get.
Bookmarks