magickSetImageExtent method
MagickSetImageExtent() sets the image size (i.e. columns & rows).
columns
: the image width in pixels.rows
: the image height in pixels.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickSetImageExtent({
required int columns,
required int rows,
}) async =>
await _magickCompute(
_magickSetImageExtent,
_MagickSetImageExtentParams(
_wandPtr.address,
columns,
rows,
),
);