magickSetExtract method

bool magickSetExtract(
  1. String geometry
)

Sets the extract geometry before you read or write an image file. Use it for inline cropping (e.g. 200x200+0+0) or resizing (e.g.200x200).

Implementation

bool magickSetExtract(String geometry) => using(
      (Arena arena) => _magickWandBindings.MagickSetExtract(
        _wandPtr,
        geometry.toNativeUtf8(allocator: arena).cast(),
      ),
    ).toBool();