magickResampleImage method
Future<bool>
magickResampleImage({
- required double xResolution,
- required double yResolution,
- required FilterType filter,
MagickResampleImage() resample image to desired resolution. Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quadratic Sinc Triangle Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickResampleImage({
required double xResolution,
required double yResolution,
required FilterType filter,
}) async =>
await _magickCompute(
_magickResampleImage,
_MagickResampleImageParams(
_wandPtr.address,
xResolution,
yResolution,
filter,
),
);