The Grayscale8BitFactor Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the compression quality for JPEG, CMP and CMW compression.Visual Basic (Declaration) | |
---|---|
Public Property Grayscale8BitFactor As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MrcCompressionOptions Dim value As Integer instance.Grayscale8BitFactor = value value = instance.Grayscale8BitFactor |
C# | |
---|---|
public int Grayscale8BitFactor {get; set;} |
Property Value
Possible values are between 2 and 255, where 2 are the highest quality and 255 is the most compression.Refer to MrcSegmenter.SaveImage example.
This property is valid only when saving in LEAD Proprietary T44 format using the MrcSegmenter.SaveImage method.
When using the MrcSegmenter.SaveImageT44 method, all 8-bit grayscale segments are treated as picture segments.
If the Grayscale8BitCoder property is CMW or JPEG lossless compression, this property should be 0. This property is used only if MrcImageFormat.Mrc or MrcImageFormat.MrcTif is set in the format parameter of either MrcSegmenter.SaveImage or MrcSegmenter.SaveImageT44 methods.
When using the MrcSegmenter.SaveImageT44 method, all 8-bit grayscale segments are treated as picture segments.
If the Grayscale8BitCoder property is CMW or JPEG lossless compression, this property should be 0. This property is used only if MrcImageFormat.Mrc or MrcImageFormat.MrcTif is set in the format parameter of either MrcSegmenter.SaveImage or MrcSegmenter.SaveImageT44 methods.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7