mirror of https://github.com/SixLabors/ImageSharp
13 changed files with 51 additions and 24 deletions
@ -0,0 +1,22 @@ |
|||
namespace ImageSharp.Formats |
|||
{ |
|||
/// <summary>
|
|||
/// Stores information about pixel
|
|||
/// </summary>
|
|||
public class PixelTypeInfo |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="PixelTypeInfo"/> class.
|
|||
/// </summary>
|
|||
/// <param name="bitsPerPixel">color depth, in number of bits per pixel</param>
|
|||
internal PixelTypeInfo(int bitsPerPixel) |
|||
{ |
|||
this.BitsPerPixel = bitsPerPixel; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Gets color depth, in number of bits per pixel
|
|||
/// </summary>
|
|||
public int BitsPerPixel { get; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue