Atalasoft dotImage Send comments on this topic.
ReduceColorsCommand Class
See Also  Members  
Atalasoft.dotImage Assembly > Atalasoft.Imaging.ImageProcessing.Effects Namespace : ReduceColorsCommand Class




Use this command to convert an image into an 8-bit indexed image with a specified number of colors.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class ReduceColorsCommand 
   Inherits ImageCommand
Visual Basic (Usage)Copy Code
Dim instance As ReduceColorsCommand
C# 
[SerializableAttribute()]
public class ReduceColorsCommand : ImageCommand 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc class ReduceColorsCommand : public ImageCommand 
C++/CLI 
[SerializableAttribute()]
public ref class ReduceColorsCommand : public ImageCommand 

Remarks

This method requires a 24 or 32 bit image. If the source image is of a different format, it will raise the ChangePixelFormat event and convert the image to a compatible format.

Inheritance Hierarchy

System.Object
   Atalasoft.Imaging.ImageProcessing.ImageCommand
      Atalasoft.Imaging.ImageProcessing.Effects.ReduceColorsCommand

Requirements

Namespace: Atalasoft.Imaging.ImageProcessing.Effects

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Atalasoft.dotImage (in Atalasoft.dotImage.dll)

See Also