magickClutImage method
Future<bool>
magickClutImage({
- required MagickWand clutImage,
- required PixelInterpolateMethod method,
Replaces colors in the image from a color lookup table.
This method runs inside an isolate different from the main isolate.
clutImage
: the clut image.method
: the pixel interpolation method.
Implementation
Future<bool> magickClutImage(
{required MagickWand clutImage,
required PixelInterpolateMethod method}) async =>
await _magickCompute(
_magickClutImage,
_MagickClutImageParams(
_wandPtr.address,
clutImage._wandPtr.address,
method.index,
),
);