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

Cannot open Tiff Black and white chanel #259

Open
sophie-h opened this issue Jan 23, 2025 · 1 comment
Open

Cannot open Tiff Black and white chanel #259

sophie-h opened this issue Jan 23, 2025 · 1 comment

Comments

@sophie-h
Copy link

Example image:

https://gitlab.gnome.org/-/project/27706/uploads/041c5adc3c3e723cd9bce2bee4c02917/202209020014164101_2R.tif

The encoder or decoder for Tiff does not support the color type `Unknown(1)`

Downstream issue https://gitlab.gnome.org/GNOME/glycin/-/issues/113

@fintelia
Copy link
Contributor

There's some unreleased fixes for 1-bit TIFF files in #252. However, at the moment the image crate bails regardless when it encounters one, because there isn't any logic yet to convert from 1-bit to 8-bits colors.

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