[Git][wine/wine][master] 2 commits: sane.ds: Fix ICAP_BITDEPTH semantics, allow setting it.

"Alexandre Julliard (@julliard)" <[email protected]>
Newsgroups gmane.comp.emulators.wine.cvs
Message-ID <[email protected]>

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/1716a06a535bc16538a61e4db175cd9e7739f689...fbd4945c4c74cef29ff7ad1d1f56c7527e42c025

-- 
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/1716a06a535bc16538a61e4db175cd9e7739f689...fbd4945c4c74cef29ff7ad1d1f56c7527e42c025
You're receiving this email because of your account on gitlab.winehq.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.