Visual Basic (Declaration) | |
---|---|
Public Class PosterizeCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class PosterizeCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class PosterizeCommand : public RasterCommand, IRasterCommand |
Run the PosterizeCommand on an image and posterize it.
Visual Basic | Copy Code |
---|---|
Public Sub PosterizeCommandCommandExample() |
C# | Copy Code |
---|---|
public void PosterizeCommandCommandExample() |
This command supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits. This command does not support 32-bit grayscale images.
If the image has a LUT and you want to work on the image data, set RasterImage.UseLookupTable to false. Then, after calling the method, reset the UselookupTable property to true, as follows:
rasterImage.UseLookupTable = false;
Method(rasterImage);
rasterImage.UseLookupTable = true;
For more information, refer to Applying Artistic Effects.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Color.PosterizeCommand
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Reference
PosterizeCommand MembersLeadtools.ImageProcessing.Color Namespace
Applying Artistic Effects
SharpenCommand
MosaicCommand
EmbossCommand
AverageCommand
MedianCommand
AddNoiseCommand
IntensityDetectCommand Class
SpatialFilterCommand
BinaryFilterCommand
MaximumCommand
MinimumCommand
OilifyCommand
SolarizeCommand Class
WindowLevelCommand
BumpMapCommand
CubismCommand
DrawStarCommand
DryCommand
FreePlaneBendCommand
FreeRadialBendCommand
GlassEffectCommand
GlowCommand
LensFlareCommand
LightCommand
OceanCommand
PlaneBendCommand
PlaneCommand
SampleTargetCommand Class
TunnelCommand
BendCommand
CylinderCommand
FreeHandShearCommand
FreeHandWaveCommand
ImpressionistCommand
PixelateCommand
PolarCommand
PunchCommand
RadialBlurCommand
RadialWaveCommand
RippleCommand
SphereCommand
SwirlCommand
WaveCommand
WindCommand
ZoomBlurCommand
ZoomWaveCommand
ShadowCommand
RevEffectCommand
AgingCommand
DiceEffectCommand
FunctionalLightCommand
PuzzleEffectCommand
RingEffectCommand
RadialBlurCommand
BricksTextureCommand
DeskewCommand
DeskewExtendedCommand
DiffuseGlowCommand
GlowCommand
HalfTonePatternCommand
HighPassCommand
MaskConvolutionCommand
PerspectiveCommand
PlasmaCommand
PointillistCommand
CanvasCommand
CloudsCommand
ColoredBallsCommand
DiffuseGlowCommand
DisplacementCommand
FragmentCommand
MosaicTilesCommand
OffsetCommand
RomanMosaicCommand
VignnetCommand
ZigZagCommand