VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ChangePixelFormatToGrayscaleCommand Class / PixelFormat Property
Syntax Requirements SeeAlso
In This Topic
PixelFormat Property (ChangePixelFormatToGrayscaleCommand)
In This Topic
Gets or sets a pixel format in which image must be converted.
Syntax
'Declaration

<DefaultValueAttribute(Gray8)>
<DescriptionAttribute("A pixel format in which image must be converted.
Supported values: Gray8, Gray16.")>
Public Property PixelFormat As Vintasoft.Imaging.PixelFormat

[DefaultValue(Gray8)]
[Description("A pixel format in which image must be converted.
Supported values: Gray8, Gray16.")]
public Vintasoft.Imaging.PixelFormat PixelFormat { get; set; }

Property Value

Supported values: PixelFormat.Gray8, PixelFormat.Gray16.

Default value is PixelFormat.Gray8.
Requirements

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

See Also