Lines Matching refs:picon
670 *picon; in WritePICONImage() local
725 picon=ResizeImage(image,geometry.width,geometry.height,TriangleFilter, in WritePICONImage()
736 if ((picon == (Image *) NULL) || (affinity_image == (Image *) NULL)) in WritePICONImage()
740 if (picon != (Image *) NULL) in WritePICONImage()
741 picon=DestroyImage(picon); in WritePICONImage()
745 status=RemapImage(quantize_info,picon,affinity_image,exception); in WritePICONImage()
749 if (picon->storage_class == PseudoClass) in WritePICONImage()
751 (void) CompressImageColormap(picon,exception); in WritePICONImage()
752 if (picon->alpha_trait != UndefinedPixelTrait) in WritePICONImage()
760 if (picon->alpha_trait != UndefinedPixelTrait) in WritePICONImage()
765 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
767 q=GetAuthenticPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
770 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
775 SetPixelAlpha(picon,OpaqueAlpha,q); in WritePICONImage()
776 q+=GetPixelChannels(picon); in WritePICONImage()
778 if (SyncAuthenticPixels(picon,exception) == MagickFalse) in WritePICONImage()
782 (void) SetImageType(picon,PaletteType,exception); in WritePICONImage()
784 colors=picon->colors; in WritePICONImage()
788 picon->colormap=(PixelInfo *) ResizeQuantumMemory((void **) in WritePICONImage()
789 picon->colormap,(size_t) colors,sizeof(*picon->colormap)); in WritePICONImage()
790 if (picon->colormap == (PixelInfo *) NULL) in WritePICONImage()
792 picon->colormap[colors-1].red=0.0; in WritePICONImage()
793 picon->colormap[colors-1].green=0.0; in WritePICONImage()
794 picon->colormap[colors-1].blue=0.0; in WritePICONImage()
795 picon->colormap[colors-1].alpha=TransparentAlpha; in WritePICONImage()
796 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
798 q=GetAuthenticPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
801 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
804 SetPixelIndex(picon,(Quantum) picon->colors,q); in WritePICONImage()
805 q+=GetPixelChannels(picon); in WritePICONImage()
807 if (SyncAuthenticPixels(picon,exception) == MagickFalse) in WritePICONImage()
821 GetPathComponent(picon->filename,BasePath,basename); in WritePICONImage()
827 "\"%.20g %.20g %.20g %.20g\",\n",(double) picon->columns,(double) in WritePICONImage()
828 picon->rows,(double) colors,(double) characters_per_pixel); in WritePICONImage()
836 pixel=picon->colormap[i]; in WritePICONImage()
865 for (y=0; y < (ssize_t) picon->rows; y++) in WritePICONImage()
867 p=GetVirtualPixels(picon,0,y,picon->columns,1,exception); in WritePICONImage()
871 for (x=0; x < (ssize_t) picon->columns; x++) in WritePICONImage()
873 k=((ssize_t) GetPixelIndex(picon,p) % MaxCixels); in WritePICONImage()
877 k=(((int) GetPixelIndex(picon,p)-k)/MaxCixels) % MaxCixels; in WritePICONImage()
883 p+=GetPixelChannels(picon); in WritePICONImage()
886 y == (ssize_t) (picon->rows-1) ? "" : ","); in WritePICONImage()
889 picon->rows); in WritePICONImage()
893 picon=DestroyImage(picon); in WritePICONImage()