FPGARelated.com
Forums

how to read bmp file in vhdl

Started by suni February 20, 2010
helo
 i am in B.E.-E&TC,doing project on DIGITAL WATER MARKING TECH.. I
need to convert matlab code in to vhdl for downloading,if not then how
to read bmp file in vhdl?..Can u please help me out..
On 20 Feb., 15:47, suni <sunitara...@gmail.com> wrote:
> helo > =A0i am in B.E.-E&TC,doing project on DIGITAL WATER MARKING TECH.. I > need to convert matlab code in to vhdl for downloading,if not then how > to read bmp file in vhdl?..Can u please help me out..
Hi, whatever interface you are going to use, read in the bmp data byte by byte and follow the format instructions to be able to decode the raw pixel data. Remember: VHDL is about hardware design. Have a nice synthesis. Eilert
suni <sunitaraul5@gmail.com> writes:

> helo > i am in B.E.-E&TC,doing project on DIGITAL WATER MARKING TECH.. I > need to convert matlab code in to vhdl for downloading,if not then how > to read bmp file in vhdl?..Can u please help me out..
I'd attempt to read a simpler format than BMP files - try PGM files: they're a lot easier to read, as the header is simple and there's only two formats to worry about, rather than the many variations that a BMP can hide. Cheers, Martin -- martin.j.thompson@trw.com TRW Conekt - Consultancy in Engineering, Knowledge and Technology http://www.conekt.net/electronics.html