magickShaveImage method
MagickShaveImage() shaves pixels from the image edges.
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> magickShaveImage({
required int columns,
required int rows,
}) async =>
await _magickCompute(
_magickShaveImage,
_MagickShaveImageParams(
_wandPtr.address,
columns,
rows,
),
);