Skip to content

Improve TIFF extra sample handling#4

Merged
TheNicker merged 3 commits intomasterfrom
tiff
May 6, 2026
Merged

Improve TIFF extra sample handling#4
TheNicker merged 3 commits intomasterfrom
tiff

Conversation

@TheNicker
Copy link
Copy Markdown
Member

Adds TIFF texel format detection for 16-bit RGB and RGBA data, 64-bit floating grayscale data, 4-bit grayscale data, and signed integer grayscale samples. Handles unsupported extra-sample layouts by extracting separate channel images or returning format-not-supported instead of continuing with unknown formats; fixes extra sample extraction to use the correct per-sample source offset and neutral photometric interpretation for extracted auxiliary channels.

Lior Lahav added 3 commits May 5, 2026 09:16
Adds TIFF texel format detection for 16-bit RGB and RGBA data, 64-bit floating grayscale data, 4-bit grayscale data, and signed integer grayscale samples. Handles unsupported extra-sample layouts by extracting separate channel images or returning format-not-supported instead of continuing with unknown formats; fixes extra sample extraction to use the correct per-sample source offset and neutral photometric interpretation for extracted auxiliary channels.
Restricts the ImageCodec delayimp link dependency to Windows MSVC-style toolchains and excludes MinGW. This keeps Linux and Clang builds from receiving an unsupported -ldelayimp linker input while preserving delay-load support for the Windows configuration that needs it.
ImageCodec now publishes the MSVC delay-load requirements for the DLL-backed codecs it enables, so final consumers inherit the correct link behavior while codec implementation libraries stay private. The codec-local delay-load blocks were removed, and zlib delay loading is applied to png_shared where zlib is actually imported.
@TheNicker TheNicker merged commit a595518 into master May 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant