diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 5bd3a81..f879df6 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -351,7 +351,6 @@ impl Decoder { pub fn colortype(&mut self) -> TiffResult { match self.photometric_interpretation { - // TODO: catch also [ 8, 8, 8, _] this does not work due to a bug in rust atm PhotometricInterpretation::RGB => { match self.bits_per_sample[..] { [r, g, b] if [r, r] == [g, b] => Ok(ColorType::RGB(r)),