Visual Basic (Declaration) | |
---|---|
Public Class InvertedPageCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class InvertedPageCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class InvertedPageCommand : public RasterCommand, IRasterCommand |
This example will show how to use the InvertedPageCommand class to check and auto-correct inverted images.
Visual Basic | Copy Code |
---|---|
Public Sub InvertedPageCommandExample() |
C# | Copy Code |
---|---|
public void InvertedPageCommandExample() |
An inverted RasterImage is an image that has text or other objects in high contrast color on a low contrast background, for example white text on black background. This command can check whether an image is inverted as well as auto-correct it.
This command can only detect an entire image. To search for and correct specific inverted areas or regions in an image, use the InvertedTextCommand.
A common source of inverted images are black and white images saved with a non-standard palette by some applications.
This command does not support signed data images.
For more information, refer to Cleaning Up 1-Bit Images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.InvertedPageCommand
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
InvertedPageCommand MembersLeadtools.ImageProcessing.Core Namespace
Cleaning Up 1-Bit Images
SmoothCommand Class
BorderRemoveCommand Class
LineRemoveCommand Class
InvertedTextCommand Class
HighQualityRotateCommand Class
DotRemoveCommand Class
HolePunchRemoveCommand Class
HighQualityRotateCommand Class
MinimumCommand Class
MaximumCommand Class
RegionHolesRemovalCommand