magickGetSamplingFactors method
Gets the horizontal and vertical sampling factor.
Implementation
Float64List? magickGetSamplingFactors() => using((Arena arena) {
final Pointer<Size> numFactorsPtr = arena();
final Pointer<Double> factorsPtr =
_magickWandBindings.MagickGetSamplingFactors(
_wandPtr, numFactorsPtr);
final int numFactors = numFactorsPtr.value;
final Float64List? factors = factorsPtr.toFloat64List(numFactors);
_magickRelinquishMemory(factorsPtr.cast());
return factors;
});