Alexandre Julliard pushed to branch master at wine / wine
Commits: 93142366 by Nikolay Sivov at 2025-05-13T10:51:30+02:00 windowscodecs/tests: Add some tests for multi-frame tiffs vs SUBFILETYPE tag.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
- - - - - 742c7440 by Nikolay Sivov at 2025-05-13T10:51:32+02:00 windowscodecs/tiff: Skip frames marked with SUBFILETYPE(0x1).
This is important for RAW formats that use TIFF container, but mark directories as 'reduced-size'. Those files should be processed with appropriate RAW decoder, instead of displaying auxiliary frame with the TIFF decoder.
Unfortunately libtiff skips old tag OSUBFILETYPE == 0xff, it's not available via TIFFGetField() and SUBFILETYPE is not synthesized from it. On Windows both tags have the same effect on frames being skipped by the decoder.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
- - - - -
2 changed files:
- dlls/windowscodecs/libtiff.c - dlls/windowscodecs/tests/tiffformat.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/bceff039c85231dc6c44eb88038fa3...