ImageGear .NET v24.12 - Updated
ImGearDiffuseReductionOptions Class
Members 




ImageGear24.Core Assembly > ImageGear.Processing Namespace : ImGearDiffuseReductionOptions Class
Defines reduction options for diffuse reduction.
Object Model
ImGearDiffuseReductionOptions Class
Syntax
'Declaration
 
Public Class ImGearDiffuseReductionOptions 
'Usage
 
Dim instance As ImGearDiffuseReductionOptions
public class ImGearDiffuseReductionOptions 
public __gc class ImGearDiffuseReductionOptions 
public ref class ImGearDiffuseReductionOptions 
Remarks
Diffuse reduction reduces an image to either black and white or 4bpp color by performing dithering according to a threshold. The type of dithering used is known as error diffusion, which attempts to spread out error (the difference in color between input and output pixels) across a two dimensional space in the output image.

A threshold value of 128 will produce an output image in which black and white are in equal proportion. A value greater than 128 would mean more bright than dark, and a value less than 128 would mean more dark than bright.

When reducing to 4bpp, a palette containing colors to use for the output image can optionally be specified. If this palette is not supplied, a default palette will be used.

Inheritance Hierarchy

System.Object
   ImageGear.Processing.ImGearDiffuseReductionOptions

See Also

Reference

ImGearDiffuseReductionOptions Members
ImageGear.Processing Namespace