VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / MatrixTransformCommand Class / PreservePixelFormat Property
Syntax Remarks Requirements SeeAlso
    PreservePixelFormat Property (MatrixTransformCommand)
    Gets or sets a value indicating whether the image processing command preserves the pixel format of processing images.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether the image processing command preserves the pixel format of processing images.")>
    <DefaultValueAttribute(True)>
    Public Property PreservePixelFormat As Boolean
    
    
     

    Property Value

    true - processed image will have same pixel format as the source image; false - processed image will have pixel format Bgr24 or Bgra32.
    Remarks

    Setting this property's value to false allows to improve performance because preserving the pixel format is not required. Also, it allows to perform your own conversion of processed image from Bgr24/Bgra32 to required format.

    Requirements

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

    See Also