From 6bb1c8095aa9d8d75256b10dc6e87857a27f234b Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Wed, 3 Mar 2021 11:23:39 +0100 Subject: [PATCH] Add explicit bit values to BitsPerSample --- src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs b/src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs index c93e9b91b9..bc74cbc5fb 100644 --- a/src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs +++ b/src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs @@ -11,26 +11,26 @@ namespace SixLabors.ImageSharp.Formats.Tiff /// /// The Bits per samples is not known. /// - Unknown, + Unknown = 0, /// /// One bit per sample for bicolor images. /// - Bit1, + Bit1 = 1, /// /// Four bits per sample for grayscale images with 16 different levels of gray or paletted images with a palette of 16 colors. /// - Bit4, + Bit4 = 4, /// /// Eight bits per sample for grayscale images with 256 different levels of gray or paletted images with a palette of 256 colors. /// - Bit8, + Bit8 = 8, /// /// 24 bits per sample, each color channel has 8 Bits. /// - Bit24, + Bit24 = 24, } }