magickColorDecisionListImage method

Future<bool> magickColorDecisionListImage(
  1. String colorCorrectionCollection
)

magickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image. Here is a sample CCC file: which includes the offset, slope, and power for each of the RGB channels as well as the saturation.

  This method runs inside an isolate different from the main isolate.
  - [colorCorrectionCollection] : the color correction collection in XML.

Implementation

Future<bool> magickColorDecisionListImage(
        String colorCorrectionCollection) async =>
    await _magickCompute(
      _magickColorDecisionListImage,
      _MagickColorDecisionListImageParams(
        _wandPtr.address,
        colorCorrectionCollection,
      ),
    );