• Home
  • Raw
  • Download

Lines Matching refs:colormap

1169               *colormap;  in ReadMIFFImage()  local
1175 colormap=(unsigned char *) AcquireQuantumMemory(image->colors, in ReadMIFFImage()
1176 packet_size*sizeof(*colormap)); in ReadMIFFImage()
1177 if (colormap == (unsigned char *) NULL) in ReadMIFFImage()
1179 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMIFFImage()
1180 p=colormap; in ReadMIFFImage()
1194 image->colormap[i].red=ScaleCharToQuantum(pixel); in ReadMIFFImage()
1196 image->colormap[i].green=ScaleCharToQuantum(pixel); in ReadMIFFImage()
1198 image->colormap[i].blue=ScaleCharToQuantum(pixel); in ReadMIFFImage()
1210 image->colormap[i].red=ScaleShortToQuantum(pixel); in ReadMIFFImage()
1212 image->colormap[i].green=ScaleShortToQuantum(pixel); in ReadMIFFImage()
1214 image->colormap[i].blue=ScaleShortToQuantum(pixel); in ReadMIFFImage()
1226 image->colormap[i].red=ScaleLongToQuantum(pixel); in ReadMIFFImage()
1228 image->colormap[i].green=ScaleLongToQuantum(pixel); in ReadMIFFImage()
1230 image->colormap[i].blue=ScaleLongToQuantum(pixel); in ReadMIFFImage()
1235 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in ReadMIFFImage()
2337 *colormap, in WriteMIFFImage() local
2344 colormap=(unsigned char *) AcquireQuantumMemory(image->colors, in WriteMIFFImage()
2345 packet_size*sizeof(*colormap)); in WriteMIFFImage()
2346 if (colormap == (unsigned char *) NULL) in WriteMIFFImage()
2351 q=colormap; in WriteMIFFImage()
2363 pixel=ScaleQuantumToLong(image->colormap[i].red); in WriteMIFFImage()
2365 pixel=ScaleQuantumToLong(image->colormap[i].green); in WriteMIFFImage()
2367 pixel=ScaleQuantumToLong(image->colormap[i].blue); in WriteMIFFImage()
2376 pixel=ScaleQuantumToShort(image->colormap[i].red); in WriteMIFFImage()
2378 pixel=ScaleQuantumToShort(image->colormap[i].green); in WriteMIFFImage()
2380 pixel=ScaleQuantumToShort(image->colormap[i].blue); in WriteMIFFImage()
2389 pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].red); in WriteMIFFImage()
2392 image->colormap[i].green); in WriteMIFFImage()
2394 pixel=(unsigned char) ScaleQuantumToChar(image->colormap[i].blue); in WriteMIFFImage()
2400 (void) WriteBlob(image,packet_size*image->colors,colormap); in WriteMIFFImage()
2401 colormap=(unsigned char *) RelinquishMagickMemory(colormap); in WriteMIFFImage()