From c012f533a7eeb0252b10c2999cebeadef3c80754 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Tue, 8 Nov 2016 12:04:09 +1100 Subject: [PATCH] Remove erroneous message --- src/ImageSharp/Formats/Png/PngDecoderCore.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ImageSharp/Formats/Png/PngDecoderCore.cs b/src/ImageSharp/Formats/Png/PngDecoderCore.cs index 21ed99da6..ecbc28a98 100644 --- a/src/ImageSharp/Formats/Png/PngDecoderCore.cs +++ b/src/ImageSharp/Formats/Png/PngDecoderCore.cs @@ -212,8 +212,7 @@ namespace ImageSharp.Formats case PngColorType.Rgb: return 3; - // PngColorType.RgbWithAlpha - // TODO: Maybe figure out a way to detect if there are any transparent pixels and encode RGB if none. + // PngColorType.RgbWithAlpha: default: return 4; }