ResizeOp constructor

ResizeOp(
  1. int _targetHeight,
  2. int _targetWidth,
  3. 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;