From abd6aee19faa4b2ebb26149c1d48049caec62014 Mon Sep 17 00:00:00 2001 From: Andrew Champion Date: Mon, 16 Dec 2019 22:10:57 +0000 Subject: [PATCH] Remove outdate and ambiguous TODO (minor) --- src/decoder/mod.rs | 1 - 1 file changed, 1 deletion(-) 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)),