magickSetSamplingFactors method

bool magickSetSamplingFactors(
  1. Float64List samplingFactors
)

Sets the image sampling factors.

  • samplingFactors : An array of doubles representing the sampling factor for each color component (in RGB order).

Implementation

bool magickSetSamplingFactors(Float64List samplingFactors) => using(
      (Arena arena) => _magickWandBindings.MagickSetSamplingFactors(
        _wandPtr,
        samplingFactors.length,
        samplingFactors.toDoubleArrayPointer(allocator: arena),
      ),
    ).toBool();