magickGetResolution method
Gets the image X and Y resolution.
Implementation
MagickGetResolutionResult? magickGetResolution() => using((Arena arena) {
final Pointer<Double> xResolutionPtr = arena();
final Pointer<Double> yResolutionPtr = arena();
final bool result = _magickWandBindings.MagickGetResolution(
_wandPtr,
xResolutionPtr,
yResolutionPtr,
).toBool();
if (!result) {
return null;
}
return MagickGetResolutionResult(
xResolutionPtr.value, yResolutionPtr.value);
});