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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.