Resizes (resamples) current image to the specified size, using an interpolation filter.
First overload stores the resized image in the specified destination object. Uses destination size as resize parameters. Source image remains untouched. Returns the destination object.
Second overload resizes the image inplace, returning itself.
Note: You can use assignIEVisionImage to reflect this methods changes in the associated bitmap
Parameter
Description
dst
Container for the resized image
interpolation
Interpolation filter
newWidth
New image width. If less than 0, this is auto-calculated
newHeight
New image height. If less than 0, this is auto-calculated