image icon indicating copy to clipboard operation
image copied to clipboard

Unknown Color Type

Open polycatenane opened this issue 2 months ago • 1 comments

The image doesn't load if color type is not specified.

org.gnome.glycin.Error.LoadingError: glycin-loaders/glycin-image-rs/src/main.rs:346:54: The encoder or decoder for Tiff does not support the color type Unknown(32)

polycatenane avatar Oct 24 '25 19:10 polycatenane

The underlying tiff crate understands arbitrary color types, but the image crate only supports a specific list of them:

https://github.com/image-rs/image/blob/1ed88e44e9acf5f08ac5236deda9b1ebeedc6054/src/codecs/tiff.rs#L74-L106

fintelia avatar Oct 24 '25 20:10 fintelia