The HalftoneActivity Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Converts a 1-, 4-, 8-, 16-, 24-, or 32-bit image to a halftoned image, with a specified pattern of rotation. A halftoned image is a 1-bit image that has been dithered for black and white printing or display.Visual Basic (Declaration) | |
---|---|
Public Class HalftoneActivity Inherits ImageProcessingBaseActivity Implements IComponent, IDisposable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As HalftoneActivity |
C# | |
---|---|
public class HalftoneActivity : ImageProcessingBaseActivity, IComponent, IDisposable |
C++/CLI | |
---|---|
public ref class HalftoneActivity : public ImageProcessingBaseActivity, IComponent, IDisposable |
- For the HalfToneCommandType.UserDefined option, the number of images in the list must be at least equal to (Dimension * Dimension + 1). Images with higher indexes correspond to higher intensity values.
- This command can process the whole image or a region of the image.
- This command does not support 12 and 16-bit grayscale and 48 and 64-bit color images.
- This command does not support signed data images.
- This command supports 32-bit grayscale images.
System.Object
System.Workflow.ComponentModel.DependencyObject
System.Workflow.ComponentModel.Activity
Leadtools.Workflow.Raster.WorkflowImageActivity
Leadtools.Workflow.Raster.DisposableImageActivity
Leadtools.Workflow.ImageProcessing.ImageProcessingBaseActivity
Leadtools.Workflow.ImageProcessing.HalftoneActivity
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7