←Select platform

Grayscale8BitFactor Property

Summary

Gets or sets the compression quality for JPEG, CMP and CMW compression.

Syntax

C#
VB
C++
public int Grayscale8BitFactor { get; set; } 
  
Public Property Grayscale8BitFactor As Integer 
public: 
property int Grayscale8BitFactor { 
   int get(); 
   void set (    int ); 
} 

Property Value

Possible values are between 2 and 255, where 2 are the highest quality and 255 is the most compression.

Remarks

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.

Example

Refer to MrcSegmenter.SaveImage example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Mrc Assembly