VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging Namespace / PixelFormat Enumeration
Syntax Members Hierarchy Requirements SeeAlso
In This Topic
    PixelFormat Enumeration
    In This Topic
    Specifies available formats of the color data for each pixel in the image.
    Syntax
    'Declaration
    
    Public Enum PixelFormat
       Inherits System.Enum
    
    
    public enum PixelFormat : System.Enum
    
    
    __value public enum PixelFormat : public System.Enum
    
    
    public enum class PixelFormat : public System.Enum
    
    
    Members
    MemberDescription
    UndefinedUndefined pixel format.
    Indexed1Specifies that the pixel format is 1 bit per pixel and that it uses indexed color. The color table therefore has two colors in it.
    BlackWhiteSpecifies that the pixel format is 1 bit per pixel and that it uses two colors: black and white.
    Indexed4Specifies that the format is 4 bits per pixel, indexed.
    Indexed8Specifies that the format is 8 bits per pixel, indexed. The color table therefore has 256 colors in it.
    Gray8The pixel format is 8 bits per pixel. The color information specifies 256 shades of gray.
    Bgr555Specifies that the format is 15 bits per pixel; 5 bits each are used for the blue, green, and red components.
    Bgr565Specifies that the format is 16 bits per pixel; 5-6-5 bits each are used for the blue, green, and red components.
    Gray16The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.
    Bgr24Specifies that the format is 24 bits per pixel; 8 bits each are used for the blue, green, and red components.
    Bgr32Specifies that the format is 32 bits per pixel; 8 bits each are used for the blue, green and red components. The remaining 8 bits are not used.
    Bgra32Specifies that the format is 32 bits per pixel; 8 bits each are used for the blue, green, red and alpha components.
    Bgr48Specifies that the format is 48 bits per pixel; 16 bits each are used for the blue, green, and red components.
    Bgra64Specifies that the format is 64 bits per pixel; 16 bits each are used for the blue, green, red and alpha components.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Vintasoft.Imaging.PixelFormat

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also