Lines Matching refs:picon

637     *picon;  in WritePICONImage()  local
692 picon=ResizeImage(image,geometry.width,geometry.height,TriangleFilter, in WritePICONImage()
703 if ((picon == (Image *) NULL) || (affinity_image == (Image *) NULL)) in WritePICONImage()
707 if (picon != (Image *) NULL) in WritePICONImage()
708 picon=DestroyImage(picon); in WritePICONImage()
712 status=RemapImage(quantize_info,picon,affinity_image,exception); in WritePICONImage()
716 if (picon->storage_class == PseudoClass) in WritePICONImage()
718 (void) CompressImageColormap(picon,exception); in WritePICONImage()
719 if (picon->alpha_trait != UndefinedPixelTrait) in WritePICONImage()
727 if (picon->alpha_trait != UndefinedPixelTrait) in WritePICONImage()
732 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
734 q=GetAuthenticPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
737 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
742 SetPixelAlpha(picon,OpaqueAlpha,q); in WritePICONImage()
743 q+=GetPixelChannels(picon); in WritePICONImage()
745 if (SyncAuthenticPixels(picon,exception) == MagickFalse) in WritePICONImage()
749 (void) SetImageType(picon,PaletteType,exception); in WritePICONImage()
751 colors=picon->colors; in WritePICONImage()
755 picon->colormap=(PixelInfo *) ResizeQuantumMemory((void **) in WritePICONImage()
756 picon->colormap,(size_t) colors,sizeof(*picon->colormap)); in WritePICONImage()
757 if (picon->colormap == (PixelInfo *) NULL) in WritePICONImage()
759 picon->colormap[colors-1].red=0; in WritePICONImage()
760 picon->colormap[colors-1].green=0; in WritePICONImage()
761 picon->colormap[colors-1].blue=0; in WritePICONImage()
762 picon->colormap[colors-1].alpha=TransparentAlpha; in WritePICONImage()
763 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
765 q=GetAuthenticPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
768 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
771 SetPixelIndex(picon,(Quantum) picon->colors,q); in WritePICONImage()
772 q+=GetPixelChannels(picon); in WritePICONImage()
774 if (SyncAuthenticPixels(picon,exception) == MagickFalse) in WritePICONImage()
788 GetPathComponent(picon->filename,BasePath,basename); in WritePICONImage()
794 "\"%.20g %.20g %.20g %.20g\",\n",(double) picon->columns,(double) in WritePICONImage()
795 picon->rows,(double) colors,(double) characters_per_pixel); in WritePICONImage()
803 pixel=picon->colormap[i]; in WritePICONImage()
832 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
834 p=GetVirtualPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
838 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
840 k=((ssize_t) GetPixelIndex(picon,p) % MaxCixels); in WritePICONImage()
844 k=(((int) GetPixelIndex(picon,p)-k)/MaxCixels) % MaxCixels; in WritePICONImage()
850 p+=GetPixelChannels(picon); in WritePICONImage()
853 y == (ssize_t) (picon->rows-1) ? "" : ","); in WritePICONImage()
856 picon->rows); in WritePICONImage()
860 picon=DestroyImage(picon); in WritePICONImage()