Lines Matching refs:colormap
46 #include "MagickCore/colormap.h"
47 #include "MagickCore/colormap-private.h"
299 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
310 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
328 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
332 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
336 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
340 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
348 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
354 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
361 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
381 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
385 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
393 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
410 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
1073 image->colormap[i].red=ScaleCharToQuantum((unsigned char)
1075 image->colormap[i].green=ScaleCharToQuantum((unsigned char)
1077 image->colormap[i].blue=ScaleCharToQuantum((unsigned char)
1132 /* printf("Load default colormap \n"); */
1135 image->colormap[i].red=ScaleCharToQuantum(WPG1_Palette[i].Red);
1136 image->colormap[i].green=ScaleCharToQuantum(WPG1_Palette[i].Green);
1137 image->colormap[i].blue=ScaleCharToQuantum(WPG1_Palette[i].Blue);
1144 image->colormap=(PixelInfo *) ResizeQuantumMemory(
1145 image->colormap,(size_t) (one << bpp),
1146 sizeof(*image->colormap));
1151 if(image->colormap[0].red==0 &&
1152 image->colormap[0].green==0 &&
1153 image->colormap[0].blue==0 &&
1154 image->colormap[1].red==0 &&
1155 image->colormap[1].green==0 &&
1156 image->colormap[1].blue==0)
1158 image->colormap[1].red =
1159 image->colormap[1].green =
1160 image->colormap[1].blue = QuantumRange;
1275 image->colormap[i].red=ScaleCharToQuantum((char)
1277 image->colormap[i].green=ScaleCharToQuantum((char)
1279 image->colormap[i].blue=ScaleCharToQuantum((char)
1333 image->colormap=(PixelInfo *) ResizeQuantumMemory(
1334 image->colormap,(size_t) (one << bpp),
1335 sizeof(*image->colormap));