[TWAIN] Incorrect BMP when Grayscale on some devices
I am not sure should have I created a new issue or reopen #57 (closed) , but on most devices all works well, so it may be different case.
Way to reproduce:
- Reproduces only on
BearPaw 1200CU Plus
device - According to #8 (closed) set
LIBINSANE_NORMALIZER_BMP2RAW=0
- Set mode = Gray
- Get scan data
Result:
The image is corrupted, most of viewers or editors can't open it. Those which can open show it incorrect (arrows show corners):
Expected result:
Good image
Environment:
Windows 10 Pro 64-bit
libinsane 32-bit ".0.3-16-g2f72c4e
BearPaw 1200CU Plus WIA Scanner