From a874fe9cb7f4e9d9ceecb66ce194b0dc0a4f9d0c Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 5 Jan 2023 15:21:08 +1300 Subject: [PATCH] Remove incorrect comment --- src/reduction/bit_depth.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/reduction/bit_depth.rs b/src/reduction/bit_depth.rs index d48e0f58..8ee5ca0e 100644 --- a/src/reduction/bit_depth.rs +++ b/src/reduction/bit_depth.rs @@ -73,7 +73,6 @@ pub fn reduce_bit_depth_8_or_less(png: &PngImage, mut minimum_bits: usize) -> Op } } else { // Checking for grayscale depth reduction is quite different than for indexed - // Note: In rare cases, padding bits in the data may cause this to incorrectly return None let mut mask = (1 << minimum_bits) - 1; let mut divisions = 1..(bit_depth / minimum_bits); for &b in &png.data {