VHDL Img processing with 4 bits

Guest #6297002
Rate this post
useful
not useful
Hi Everyone ,
So basically , I wrote a VHDL file where I could read a bitmap image 
with 24 bits per pixel .

You can check it out here
https://gist.githubusercontent.com/GhassenJamoussi99/f6f82cd6e31c0189803abd643ee553a6/raw/4ddf0c1a3e367567b3e6986870ad648acff336ec/Readbmp

The problem right now is that I want to read a VHDL file with 4 bits per 
pixel .
Due to the lack of documenation of the 4 bits per pixel .
I couldn't manage to modify my code to a 4 bit system .

in 24bit map we know that  the  type header in the bitmap24-bit is 54 .
But no idea concerning the 4bits per pixel

I appreciate any ideas , solutions or any fixes in how to read 4 bitmap 
image or how to change my code
Guest #6297025
Rate this post
useful
not useful
Alex wrote:
> read a bitmap image with 24 bits per pixel .
> Due to the lack of documenation of the 4 bits per pixel .

There are many graphics formats which contain "bitmaps". The question is 
which of them do you use? You could start with the file extension of the 
"bitmap" files or the application which produces them.

Information about the ".BMP" format can be found here, but without more 
information, is it unclear which format you use:
https://en.wikipedia.org/wiki/BMP_file_format

 Michael

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now