Skip to content

honour the tiff.subifd input option#4572

Open
metsw24-max wants to merge 1 commit into
lovell:mainfrom
metsw24-max:tiff-subifd-key
Open

honour the tiff.subifd input option#4572
metsw24-max wants to merge 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.

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