VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ChangePixelFormatToPaletteCommand Class / ChangePixelFormatToPaletteCommand Constructors / ChangePixelFormatToPaletteCommand Constructor(PixelFormat,Palette)
Syntax Requirements SeeAlso
In This Topic
    ChangePixelFormatToPaletteCommand Constructor(PixelFormat,Palette)
    In This Topic
    Initializes a new instance of the ChangePixelFormatToPaletteCommand class using specified color palette and threshold.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal pixelFormat
    Pixel format in which image must be converted.
    As Vintasoft.Imaging.PixelFormat, _
    ByVal palette
    Color palette which must be used for image conversion.
    As Vintasoft.Imaging.Palette _
    )
    public ChangePixelFormatToPaletteCommand(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Palette palette
    )
    public: ChangePixelFormatToPaletteCommand(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Palette* palette
    )
    public:
    ChangePixelFormatToPaletteCommand(
    Vintasoft.Imaging.PixelFormat pixelFormat,
    Vintasoft.Imaging.Palette^ palette
    )

    Parameters

    pixelFormat
    Pixel format in which image must be converted.
    palette
    Color palette which must be used for image conversion.
    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