LEADTOOLS Image File Support (Leadtools.Codecs assembly)

DitheringMethod Property

Show in webframe







Gets or sets the dithering method to use.
Syntax
public RasterDitheringMethod DitheringMethod {get; set;}
'Declaration
 
Public Property DitheringMethod As RasterDitheringMethod
'Usage
 
Dim instance As CodecsThumbnailOptions
Dim value As RasterDitheringMethod
 
instance.DitheringMethod = value
 
value = instance.DitheringMethod
public RasterDitheringMethod DitheringMethod {get; set;}
@property (nonatomic, assign) LTRasterDitheringMethod ditheringMethod;
public RasterDitheringMethod getDitheringMethod()
public void setDitheringMethod(RasterDitheringMethod value)
            
 
get_DitheringMethod();
set_DitheringMethod(value);
Object.defineProperty('DitheringMethod');
public:
property RasterDitheringMethod DitheringMethod {
   RasterDitheringMethod get();
   void set (    RasterDitheringMethod value);
}

Property Value

The dithering method to use.
Remarks
The DitheringMethod will be passed to Leadtools.ImageProcessing.ColorResolutionCommand internally when MaintainAspectRatio is true, ForceSize is true, and the source image is not 24-bit. In this case, the thumbnail image is converted to 24-bit, then, combined with a "background" image. The resulting image is then returned to the thumbnail image's original bit-depth using DitheringMethod.
Example
For an example, refer to RasterCodecs.ReadThumbnail.
Requirements

Target Platforms

See Also

Reference

CodecsThumbnailOptions Structure
CodecsThumbnailOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.