magickGetImageColormapColor method

bool magickGetImageColormapColor(
  1. int index,
  2. PixelWand color
)

Returns the color of the specified colormap index.

  • index: the offset into the image colormap.
  • color: the colormap color in this wand.

Implementation

bool magickGetImageColormapColor(int index, PixelWand color) =>
    _magickWandBindings.MagickGetImageColormapColor(
      _wandPtr,
      index,
      color._wandPtr,
    ).toBool();