Getting a LSB of a BMP binary image
i was already able to convert a BMP
image into binary memory stream
but im confused with detecting LSB in pixel values..
I have the byte[] stream
as '10101011101010101010010'
... .. ..
First is there a way th开发者_高级运维at i can filter this binary stream to pixel values and detect LSB ?
If you want to read / write the Least Significant Byte to use the bitmap to hide information you will need to load the bmp data into an image, then access the pixel-data using GetPixel()
. The BMP File itself might use RLL or some other compression so you cannot access the pixel data directly.
For detecting LSB in an image, it largely depends on the algorithm used, some are harder to detect as others. Do you have the description of the LSB-variant that might be in that image?
精彩评论