magickHaldClutImage method

Future<bool> magickHaldClutImage(
  1. MagickWand haldWand
)

MagickHaldClutImage() replaces colors in the image from a Hald color lookup table. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.

This method runs inside an isolate different from the main isolate.

  • haldWand: the Hald CLUT image.

Implementation

Future<bool> magickHaldClutImage(MagickWand haldWand) async =>
    await _magickCompute(
      _magickHaldClutImage,
      _MagickHaldClutImageParams(
        _wandPtr.address,
        haldWand._wandPtr.address,
      ),
    );