Alexandre Julliard pushed to branch master at wine / wine
Commits: 137e7668 by Bernd Herd at 2025-12-01T18:46:30+01:00 sane.ds: Fix ICAP_BITDEPTH semantics, allow setting it.
Twain ICAP_BITDEPTH is defined in bits per pixel, whereas in sane depth is defined per color channel. Fix it.
Also allows setting ICAP_BITDEPTH for those sane backends that allow it
- - - - - fbd4945c by Bernd Herd at 2025-12-01T18:46:31+01:00 sane.ds: Refuse native transfer mode with depth 16 bit.
Native transfer mode on windows can only work with 8 bit per color component as biBitCount values of 48 for 16 bit per color component are no valid values for a DIB
- - - - -
4 changed files:
- dlls/sane.ds/capability.c - dlls/sane.ds/ds_image.c - dlls/sane.ds/options.c - dlls/sane.ds/sane_i.h
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/1716a06a535bc16538a61e4db175cd...