ResizeOp constructor
ResizeOp(
- int _targetHeight,
- int _targetWidth,
- ResizeMethod resizeMethod
Creates a ResizeOp which can resize images to height: _targetHeight
&
width: _targetWidth
using algorithm resizeMethod
.
Options: ResizeMethod
Implementation
ResizeOp(this._targetHeight, this._targetWidth, ResizeMethod resizeMethod)
: this._useBilinear = resizeMethod == ResizeMethod.BILINEAR;