Error processing SSI file
LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly)

Show in webframe

IntelligentUpScaleCommand Constructor(RasterImage,RasterColor,RasterColor,Boolean,Boolean,Int32,Int32,Int32,Int32,Int32)








RasterImage object that references mask image.
RasterColor value that specifies color of the area in the mask image to be removed. It has to be different than the other image colors. If no remove color exists, then pass null.
RasterColor value that specifies color of the area in the mask image to be removed. It has to be different than the other image colors. If no remove color exists, then pass null.
True to use the removeObjectColor parameter otherwise it is false.
true to use the removeObjectColor parameter otherwise it is false.
New width. Range from 1 to width of the image less 1.
Number of the upscaling process stages for the new width to be achieved.
New height. Range from 1 to height of the image less 1.
Number of the upscaling process stages for the new height to be achieved.
Flag that determines whether processing will start with the width first and then the height or vice versa. Pass 0 to start with the height or pass 1 to start with the width.
Initializes a new IntelligentUpScaleCommand class object with explicit parameters.
Syntax
'Declaration
 
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 widthUpScalingFactor As Integer, _
   ByVal newHeight As Integer, _
   ByVal heightUpScalingFactor As Integer, _
   ByVal upScalingOrder As Integer _
)
'Usage
 
Dim maskImage As RasterImage
Dim removeObjectColor As RasterColor
Dim preserveObjectColor As RasterColor
Dim useRemoveObjectColor As Boolean
Dim usePreserveObjectColor As Boolean
Dim newWidth As Integer
Dim widthUpScalingFactor As Integer
Dim newHeight As Integer
Dim heightUpScalingFactor As Integer
Dim upScalingOrder As Integer
 
Dim instance As New IntelligentUpScaleCommand(maskImage, removeObjectColor, preserveObjectColor, useRemoveObjectColor, usePreserveObjectColor, newWidth, widthUpScalingFactor, newHeight, heightUpScalingFactor, upScalingOrder)

            

            
function IntelligentUpScaleCommand( 
   maskImage ,
   removeObjectColor ,
   preserveObjectColor ,
   useRemoveObjectColor ,
   usePreserveObjectColor ,
   newWidth ,
   widthUpScalingFactor ,
   newHeight ,
   heightUpScalingFactor ,
   upScalingOrder 
)

Parameters

maskImage
RasterImage object that references mask image.
removeObjectColor
RasterColor value that specifies color of the area in the mask image to be removed. It has to be different than the other image colors. If no remove color exists, then pass null.
preserveObjectColor
RasterColor value that specifies color of the area in the mask image to be removed. It has to be different than the other image colors. If no remove color exists, then pass null.
useRemoveObjectColor
True to use the removeObjectColor parameter otherwise it is false.
usePreserveObjectColor
true to use the removeObjectColor parameter otherwise it is false.
newWidth
New width. Range from 1 to width of the image less 1.
widthUpScalingFactor
Number of the upscaling process stages for the new width to be achieved.
newHeight
New height. Range from 1 to height of the image less 1.
heightUpScalingFactor
Number of the upscaling process stages for the new height to be achieved.
upScalingOrder
Flag that determines whether processing will start with the width first and then the height or vice versa. Pass 0 to start with the height or pass 1 to start with the width.
Example
Refer to IntelligentUpScaleCommand.
Requirements

Target Platforms

See Also

Reference

IntelligentUpScaleCommand Class
IntelligentUpScaleCommand Members
Overload List

Error processing SSI file