AcquireImageColormap
+AcquireImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AcquireImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.
+ +The format of the AcquireImageColormap method is:
+ ++ MagickBooleanType AcquireImageColormap(Image *image, + const size_t colors) ++ +
A description of each parameter follows:
+ +image
+the image.
colors
+the number of colors in the image colormap.
CycleColormap
The format of the CycleColormapImage method is:
- MagickBooleanType CycleColormapImage(Image *image,const long displace) + MagickBooleanType CycleColormapImage(Image *image,const ssize_t displace)
A description of each parameter follows:
@@ -179,10 +216,10 @@ _8c.html" target="source" name="CycleColormap">CycleColormap