IMcGeometryResize Method
|
|
Scales the image Aoi to a new height and width.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxFunction Resize (
NewWidth As Integer,
NewHeight As Integer,
Optional Smoothing As mcSmoothing = mcSmoothing.mcsmBilinear,
Optional Flags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault,
<OptionalAttribute> vSourceImg As Object
) As McImage
Parameters
- NewWidth
- Type: SystemInt32
New image width. - NewHeight
- Type: SystemInt32
New image height. - Smoothing (Optional)
- Type: MediaCy.IQL.OperationsmcSmoothing
Smoothing method. - Flags (Optional)
- Type: MediaCy.IQL.EnginemcImageCreateFlags
- vSourceImg (Optional)
- Type: SystemObject
Optional source image, operator applies to parent image
when parameter is omitted.
Return Value
Type:
McImage
RemarksSmoothing option can be set to reduce jaggedness in the output image.
The rectangular bounds of the source image Aoi are scaled into the new image's
bounds.
See Also