magickAdaptiveResizeImage method

Future<bool> magickAdaptiveResizeImage(
  1. int columns,
  2. int rows
)

Adaptively resize image with data dependent triangulation.

This method runs inside an isolate different from the main isolate.

  • columns : the number of columns in the scaled image.
  • rows : the number of rows in the scaled image.

Implementation

Future<bool> magickAdaptiveResizeImage(int columns, int rows) async =>
    await _magickCompute(
      _magickAdaptiveResizeImage,
      _MagickAdaptiveResizeImageParams(_wandPtr.address, columns, rows),
    );