Searched refs:colormap_index (Results 1 – 2 of 2) sorted by relevance
96 colormap_index, member223 tga_info.colormap_index=ReadBlobLSBShort(image); in ReadTGAImage()265 image->colors=tga_info.colormap_index+tga_info.colormap_length; in ReadTGAImage()335 if (image->colors < tga_info.colormap_index) in ReadTGAImage()336 image->colors=tga_info.colormap_index; in ReadTGAImage()339 for (i=0; i < (ssize_t) tga_info.colormap_index; i++) in ReadTGAImage()789 tga_info.colormap_index=0; in WriteTGAImage()856 (void) WriteBlobLSBShort(image,tga_info.colormap_index); in WriteTGAImage()
3322 *colormap_index, in SetGrayscaleImage() local3331 colormap_index=(ssize_t *) AcquireQuantumMemory(image->colors+1, in SetGrayscaleImage()3332 sizeof(*colormap_index)); in SetGrayscaleImage()3334 colormap_index=(ssize_t *) AcquireQuantumMemory(MaxColormapSize+1, in SetGrayscaleImage()3335 sizeof(*colormap_index)); in SetGrayscaleImage()3336 if (colormap_index == (ssize_t *) NULL) in SetGrayscaleImage()3341 (void) memset(colormap_index,(-1),MaxColormapSize* in SetGrayscaleImage()3342 sizeof(*colormap_index)); in SetGrayscaleImage()3345 colormap_index=(ssize_t *) RelinquishMagickMemory(colormap_index); in SetGrayscaleImage()3379 if (colormap_index[intensity] < 0) in SetGrayscaleImage()[all …]