LEADTOOLS MRC (Leadtools.Mrc assembly)
LEAD Technologies, Inc

Grayscale8BitFactor Property






Gets or sets the compression quality for JPEG, CMP and CMW compression.
Syntax
public int Grayscale8BitFactor {get; set;}
'Declaration
 
Public Property Grayscale8BitFactor As Integer
'Usage
 
Dim instance As MrcCompressionOptions
Dim value As Integer
 
instance.Grayscale8BitFactor = value
 
value = instance.Grayscale8BitFactor
public int Grayscale8BitFactor {get; set;}
 get_Grayscale8BitFactor();
set_Grayscale8BitFactor(value);
public:
property int Grayscale8BitFactor {
   int get();
   void set (    int value);
}

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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MrcCompressionOptions Structure
MrcCompressionOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Mrc requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features