You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem reading and writing a black and white image #1
I have three grey level images. I think all are uncompressed.
In finger_MA.bmp and 0001.bmp the header value of colors_in_palette is 256 (as it seems it should be). This causes an error, with a message that the method does not supply compressed images. But it seems to me that the colors_in_palette should not have anything to do with compression as your code seems to imply.
One file (finger1_1.bmp) has header.colors_in_palette equal to 0 after reading which is a bit strange.
Here is my test code:
Activity