public IntelligentDownScaleCommand(
RasterImage maskImage,
RasterColor removeObjectColor,
RasterColor preserveObjectColor,
bool useRemoveObjectColor,
bool usePreserveObjectColor,
int newWidth,
int newHeight,
int downScalingOrder
)
Public Function New( _
ByVal maskImage As RasterImage, _
ByVal removeObjectColor As RasterColor, _
ByVal preserveObjectColor As RasterColor, _
ByVal useRemoveObjectColor As Boolean, _
ByVal usePreserveObjectColor As Boolean, _
ByVal newWidth As Integer, _
ByVal newHeight As Integer, _
ByVal downScalingOrder As Integer _
)
public:
IntelligentDownScaleCommand(
RasterImage^ maskImage,
RasterColor removeObjectColor,
RasterColor preserveObjectColor,
bool useRemoveObjectColor,
bool usePreserveObjectColor,
int newWidth,
int newHeight,
int downScalingOrder
)
maskImage
RasterImage object that references mask image.
removeObjectColor
RasterColor value that specifies color of the area in the mask image in order to be removed and it has to be different than the rest of the image colors. If no remove color exist, then pass null.
preserveObjectColor
RasterColor value that specifies color of the area in the mask image in order to be removed and it has to be different than the rest of the image colors. If no remove color exist, then pass null.
useRemoveObjectColor
true to use the removeObjectColor parameter false otherwise.
usePreserveObjectColor
true to use the removeObjectColor parameter false otherwise.
newWidth
New width. Range from 1 to width of the image -1.
newHeight
New height. Range from 1 to height of the image -1.
downScalingOrder
value that determine whether the processing will start with the width first then the height or vice versa. Pass 0 to start with the height, pass 1 to start with the width.
For an example, refer to IntelligentDownScaleCommand.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.