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

mono2color cannot convert green-channel TIFs from SDR to RGB TIFs #5

Open
broadwell opened this issue Mar 27, 2021 · 1 comment
Open

Comments

@broadwell
Copy link

It fails with the same error from TiffHeader.cpp that occurs when one tries to run tiff2holes on a monochrome (green-channel) TIFF from the SDR, e.g., https://stacks.stanford.edu/file/wt621xq0875/wt621xq0875_0001_gr.tif:

Cannot handle photometric interpretation 1.
Input filename ../roll-image-parser_dev/wt621xq0875_0001_gr.tif cannot be opened
@simonwiles
Copy link
Member

#6 provides a -m switch for tiff2holes such that it can accept monochrome (e.g. green-channel) TIFFs, which makes this rather less important now.

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

2 participants