magickSetImageResolution method

bool magickSetImageResolution({
  1. required double xResolution,
  2. required double yResolution,
})

MagickSetImageResolution() sets the image resolution.

  • xResolution: the image x resolution.
  • yResolution: the image y resolution.

Implementation

bool magickSetImageResolution({
  required double xResolution,
  required double yResolution,
}) =>
    _magickWandBindings.MagickSetImageResolution(
      _wandPtr,
      xResolution,
      yResolution,
    ).toBool();