Browse Source

Add explicit bit values to BitsPerSample

pull/1570/head
Brian Popow 6 years ago
parent
commit
6bb1c8095a
  1. 10
      src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs

10
src/ImageSharp/Formats/Tiff/TiffBitsPerSample.cs

@ -11,26 +11,26 @@ namespace SixLabors.ImageSharp.Formats.Tiff
/// <summary> /// <summary>
/// The Bits per samples is not known. /// The Bits per samples is not known.
/// </summary> /// </summary>
Unknown, Unknown = 0,
/// <summary> /// <summary>
/// One bit per sample for bicolor images. /// One bit per sample for bicolor images.
/// </summary> /// </summary>
Bit1, Bit1 = 1,
/// <summary> /// <summary>
/// Four bits per sample for grayscale images with 16 different levels of gray or paletted images with a palette of 16 colors. /// Four bits per sample for grayscale images with 16 different levels of gray or paletted images with a palette of 16 colors.
/// </summary> /// </summary>
Bit4, Bit4 = 4,
/// <summary> /// <summary>
/// Eight bits per sample for grayscale images with 256 different levels of gray or paletted images with a palette of 256 colors. /// Eight bits per sample for grayscale images with 256 different levels of gray or paletted images with a palette of 256 colors.
/// </summary> /// </summary>
Bit8, Bit8 = 8,
/// <summary> /// <summary>
/// 24 bits per sample, each color channel has 8 Bits. /// 24 bits per sample, each color channel has 8 Bits.
/// </summary> /// </summary>
Bit24, Bit24 = 24,
} }
} }

Loading…
Cancel
Save