VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Processing Namespace / PdfDocumentCompressorCommand Class / DetectGrayscaleImageResources Property
Syntax Requirements SeeAlso
In This Topic
DetectGrayscaleImageResources Property (PdfDocumentCompressorCommand)
In This Topic
Gets or sets a value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.
Syntax
'Declaration

<DescriptionAttribute("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")>
<CategoryAttribute("Image color depth optimization")>
<DefaultValueAttribute(False)>
Public Property DetectGrayscaleImageResources As Boolean

[Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
[Category("Image color depth optimization")]
[DefaultValue(False)]
public bool DetectGrayscaleImageResources { get; set; }

Property Value

True - command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format; false - command must NOT detect grayscale image resources. Default value false.
Requirements

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

See Also