Skip to content

honour the tiff.subifd input option#4572

Merged
lovell merged 1 commit into
lovell:mainfrom
metsw24-max:tiff-subifd-key
Jul 16, 2026
Merged

honour the tiff.subifd input option#4572
lovell merged 1 commit into
lovell:mainfrom
metsw24-max:tiff-subifd-key

Conversation

@metsw24-max

Copy link
Copy Markdown
Contributor

tiff.subifd is silently ignored

The native input descriptor guards the sub-IFD read with HasAttr(input, "subifd"), but lib/input.mjs only ever sets the tiffSubifd property, so the guard never matches and the value keeps its -1 default on the way to the libvips loader. Matched the guard to the read (which already uses tiffSubifd) and added a regression test.

@lovell
lovell merged commit addd11c into lovell:main Jul 16, 2026
32 checks passed
@lovell

lovell commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Thanks for fixing this too!

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.

2 participants