Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error IFD-0019 raised incorrectly? #507

Open
marhop opened this issue May 14, 2020 · 0 comments
Open

Error IFD-0019 raised incorrectly? #507

marhop opened this issue May 14, 2020 · 0 comments

Comments

@marhop
Copy link

marhop commented May 14, 2020

Hi,

Validating the attached file (source) with DPFManager 3.5.1 using the default (Baseline TIFF 6.0) profile raises error IFD-0019 "Invalid Bits per Sample" in IFD1.

This file is a very simple bilevel (black/white) TIFF file that does not have an explicit BitsPerSample field because the default value (1) given in the TIFF 6.0 specification is appropriate for this kind of file: It does in fact use one bit per sample. According to the spec (pages 21, 26) it is permitted to omit tags if their default value is appropriate.

What do you think? Are you maybe missing some edge case here?

Thanks,
Martin

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

No branches or pull requests

1 participant