←Select platform

DitheringMethod Property

Summary

Gets or sets the dithering method to use.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public Leadtools.RasterDitheringMethod DitheringMethod {get; set;} 
Public Property DitheringMethod As Leadtools.RasterDitheringMethod 
public Leadtools.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');  

Property Value

The dithering method to use.

Remarks

The DitheringMethod will be passed to 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize