Lines Matching refs:file

217 static ssize_t PrintChannelFeatures(FILE *file,const PixelChannel channel,  in PrintChannelFeatures()  argument
260 n=FormatLocaleFile(file,FeaturesFormat,name, in PrintChannelFeatures()
278 static ssize_t PrintChannelLocations(FILE *file,const Image *image, in PrintChannelLocations() argument
306 (void) FormatLocaleFile(file," %s: %.*g (%.*g)",name,GetMagickPrecision(), in PrintChannelLocations()
336 (void) FormatLocaleFile(file," %.20g,%.20g",(double) x,(double) y); in PrintChannelLocations()
344 (void) FormatLocaleFile(file,"\n"); in PrintChannelLocations()
348 static ssize_t PrintChannelMoments(FILE *file,const PixelChannel channel, in PrintChannelMoments() argument
361 n=FormatLocaleFile(file," %s:\n",name); in PrintChannelMoments()
362 n+=FormatLocaleFile(file," Centroid: %.*g,%.*g\n", in PrintChannelMoments()
365 n+=FormatLocaleFile(file," Ellipse Semi-Major/Minor axis: %.*g,%.*g\n", in PrintChannelMoments()
368 n+=FormatLocaleFile(file," Ellipse angle: %.*g\n", in PrintChannelMoments()
370 n+=FormatLocaleFile(file," Ellipse eccentricity: %.*g\n", in PrintChannelMoments()
372 n+=FormatLocaleFile(file," Ellipse intensity: %.*g (%.*g)\n", in PrintChannelMoments()
377 n+=FormatLocaleFile(file," I%.20g: %.*g (%.*g)\n",i+1.0, in PrintChannelMoments()
383 static ssize_t PrintChannelPerceptualHash(Image *image,FILE *file, in PrintChannelPerceptualHash() argument
392 (void) FormatLocaleFile(file," Channel perceptual hash: "); in PrintChannelPerceptualHash()
395 (void) FormatLocaleFile(file,"%s",CommandOptionToMnemonic( in PrintChannelPerceptualHash()
398 (void) FormatLocaleFile(file,", "); in PrintChannelPerceptualHash()
400 (void) FormatLocaleFile(file,"\n"); in PrintChannelPerceptualHash()
419 n=FormatLocaleFile(file," Channel %.20g:\n",(double) channel); in PrintChannelPerceptualHash()
425 n+=FormatLocaleFile(file," PH%.20g: ",(double) j+1); in PrintChannelPerceptualHash()
428 n+=FormatLocaleFile(file,"%.*g",GetMagickPrecision(), in PrintChannelPerceptualHash()
431 n+=FormatLocaleFile(file,", "); in PrintChannelPerceptualHash()
433 n+=FormatLocaleFile(file,"\n"); in PrintChannelPerceptualHash()
439 static ssize_t PrintChannelStatistics(FILE *file,const PixelChannel channel, in PrintChannelStatistics() argument
451 n=FormatLocaleFile(file,StatisticsFormat,name,GetMagickPrecision(), in PrintChannelStatistics()
469 MagickExport MagickBooleanType IdentifyImage(Image *image,FILE *file, in IdentifyImage() argument
531 if (file == (FILE *) NULL) in IdentifyImage()
532 file=stdout; in IdentifyImage()
558 (void) FormatLocaleFile(file,"Channel %s locations:\n",locate); in IdentifyImage()
564 (void) PrintChannelLocations(file,image,RedPixelChannel,"Red", in IdentifyImage()
566 (void) PrintChannelLocations(file,image,GreenPixelChannel,"Green", in IdentifyImage()
568 (void) PrintChannelLocations(file,image,BluePixelChannel,"Blue", in IdentifyImage()
574 (void) PrintChannelLocations(file,image,CyanPixelChannel,"Cyan", in IdentifyImage()
576 (void) PrintChannelLocations(file,image,MagentaPixelChannel, in IdentifyImage()
578 (void) PrintChannelLocations(file,image,YellowPixelChannel,"Yellow", in IdentifyImage()
580 (void) PrintChannelLocations(file,image,BlackPixelChannel,"Black", in IdentifyImage()
587 (void) PrintChannelLocations(file,image,GrayPixelChannel,"Gray", in IdentifyImage()
594 (void) PrintChannelLocations(file,image,(PixelChannel) i,"Gray", in IdentifyImage()
600 (void) PrintChannelLocations(file,image,AlphaPixelChannel,"Alpha", in IdentifyImage()
604 return(ferror(file) != 0 ? MagickFalse : MagickTrue); in IdentifyImage()
617 (void) FormatLocaleFile(file,"%s=>",image->magick_filename); in IdentifyImage()
621 (void) FormatLocaleFile(file,"%s ",image->filename); in IdentifyImage()
623 (void) FormatLocaleFile(file,"%s[%.20g] ",image->filename,(double) in IdentifyImage()
625 (void) FormatLocaleFile(file,"%s ",image->magick); in IdentifyImage()
629 (void) FormatLocaleFile(file,"%.20gx%.20g=>",(double) in IdentifyImage()
631 (void) FormatLocaleFile(file,"%.20gx%.20g ",(double) image->columns, in IdentifyImage()
635 (void) FormatLocaleFile(file,"%.20gx%.20g%+.20g%+.20g ",(double) in IdentifyImage()
638 (void) FormatLocaleFile(file,"%.20g-bit ",(double) image->depth); in IdentifyImage()
640 (void) FormatLocaleFile(file,"%s ",CommandOptionToMnemonic( in IdentifyImage()
643 (void) FormatLocaleFile(file,"%s ",CommandOptionToMnemonic( in IdentifyImage()
651 (void) FormatLocaleFile(file,"%s ",format); in IdentifyImage()
656 (void) FormatLocaleFile(file,"%.20gc ",(double) in IdentifyImage()
659 (void) FormatLocaleFile(file,"%.20g=>%.20gc ",(double) in IdentifyImage()
662 (void) FormatLocaleFile(file,"%.20g/%f/%fdb ",(double) in IdentifyImage()
670 (void) FormatLocaleFile(file,"%s ",format); in IdentifyImage()
672 (void) FormatLocaleFile(file,"%0.3fu %lu:%02lu.%03lu",user_time, in IdentifyImage()
676 (void) FormatLocaleFile(file,"\n"); in IdentifyImage()
677 (void) fflush(file); in IdentifyImage()
678 return(ferror(file) != 0 ? MagickFalse : MagickTrue); in IdentifyImage()
686 (void) FormatLocaleFile(file,"Image: %s\n",image->filename); in IdentifyImage()
694 (void) FormatLocaleFile(file," Base filename: %s\n",filename); in IdentifyImage()
699 (void) FormatLocaleFile(file," Format: %s\n",image->magick); in IdentifyImage()
701 (void) FormatLocaleFile(file," Format: %s (%s)\n",image->magick, in IdentifyImage()
705 (void) FormatLocaleFile(file," Mime type: %s\n",GetMagickMimeType( in IdentifyImage()
707 (void) FormatLocaleFile(file," Class: %s\n",CommandOptionToMnemonic( in IdentifyImage()
709 (void) FormatLocaleFile(file," Geometry: %.20gx%.20g%+.20g%+.20g\n",(double) in IdentifyImage()
715 (void) FormatLocaleFile(file," Base geometry: %.20gx%.20g\n",(double) in IdentifyImage()
719 (void) FormatLocaleFile(file," Resolution: %gx%g\n",image->resolution.x, in IdentifyImage()
721 (void) FormatLocaleFile(file," Print size: %gx%g\n",(double) in IdentifyImage()
725 (void) FormatLocaleFile(file," Units: %s\n",CommandOptionToMnemonic( in IdentifyImage()
727 (void) FormatLocaleFile(file," Colorspace: %s\n",CommandOptionToMnemonic( in IdentifyImage()
730 (void) FormatLocaleFile(file," Type: %s\n",CommandOptionToMnemonic( in IdentifyImage()
733 (void) FormatLocaleFile(file," Base type: %s\n",CommandOptionToMnemonic( in IdentifyImage()
735 (void) FormatLocaleFile(file," Endianess: %s\n",CommandOptionToMnemonic( in IdentifyImage()
767 (void) FormatLocaleFile(file," Depth: %.20g-bit\n",(double) in IdentifyImage()
770 (void) FormatLocaleFile(file," Depth: %.20g/%.20g-bit\n",(double) in IdentifyImage()
772 (void) FormatLocaleFile(file," Channel depth:\n"); in IdentifyImage()
778 (void) FormatLocaleFile(file," Red: %.20g-bit\n",(double) in IdentifyImage()
780 (void) FormatLocaleFile(file," Green: %.20g-bit\n",(double) in IdentifyImage()
782 (void) FormatLocaleFile(file," Blue: %.20g-bit\n",(double) in IdentifyImage()
788 (void) FormatLocaleFile(file," Cyan: %.20g-bit\n",(double) in IdentifyImage()
790 (void) FormatLocaleFile(file," Magenta: %.20g-bit\n",(double) in IdentifyImage()
792 (void) FormatLocaleFile(file," Yellow: %.20g-bit\n",(double) in IdentifyImage()
794 (void) FormatLocaleFile(file," Black: %.20g-bit\n",(double) in IdentifyImage()
801 (void) FormatLocaleFile(file," Gray: %.20g-bit\n",(double) in IdentifyImage()
808 (void) FormatLocaleFile(file," Channel %.20g: %.20g-bit\n", in IdentifyImage()
814 (void) FormatLocaleFile(file," Alpha: %.20g-bit\n",(double) in IdentifyImage()
823 (void) FormatLocaleFile(file," Channel statistics:\n"); in IdentifyImage()
824 (void) FormatLocaleFile(file," Pixels: %.20g\n",(double) in IdentifyImage()
831 (void) PrintChannelStatistics(file,RedPixelChannel,"Red",1.0/ in IdentifyImage()
833 (void) PrintChannelStatistics(file,GreenPixelChannel,"Green",1.0/ in IdentifyImage()
835 (void) PrintChannelStatistics(file,BluePixelChannel,"Blue",1.0/ in IdentifyImage()
841 (void) PrintChannelStatistics(file,CyanPixelChannel,"Cyan",1.0/ in IdentifyImage()
843 (void) PrintChannelStatistics(file,MagentaPixelChannel,"Magenta",1.0/ in IdentifyImage()
845 (void) PrintChannelStatistics(file,YellowPixelChannel,"Yellow",1.0/ in IdentifyImage()
847 (void) PrintChannelStatistics(file,BlackPixelChannel,"Black",1.0/ in IdentifyImage()
854 (void) PrintChannelStatistics(file,GrayPixelChannel,"Gray",1.0/ in IdentifyImage()
867 (void) PrintChannelStatistics(file,(PixelChannel) i,channel,1.0/ in IdentifyImage()
874 (void) PrintChannelStatistics(file,AlphaPixelChannel,"Alpha",1.0/ in IdentifyImage()
878 (void) FormatLocaleFile(file," Image statistics:\n"); in IdentifyImage()
879 (void) PrintChannelStatistics(file,CompositePixelChannel,"Overall", in IdentifyImage()
888 (void) FormatLocaleFile(file," Channel moments:\n"); in IdentifyImage()
894 (void) PrintChannelMoments(file,RedPixelChannel,"Red",scale, in IdentifyImage()
896 (void) PrintChannelMoments(file,GreenPixelChannel,"Green",scale, in IdentifyImage()
898 (void) PrintChannelMoments(file,BluePixelChannel,"Blue",scale, in IdentifyImage()
904 (void) PrintChannelMoments(file,CyanPixelChannel,"Cyan",scale, in IdentifyImage()
906 (void) PrintChannelMoments(file,MagentaPixelChannel,"Magenta",scale, in IdentifyImage()
908 (void) PrintChannelMoments(file,YellowPixelChannel,"Yellow",scale, in IdentifyImage()
910 (void) PrintChannelMoments(file,BlackPixelChannel,"Black",scale, in IdentifyImage()
916 (void) PrintChannelMoments(file,GrayPixelChannel,"Gray",scale, in IdentifyImage()
929 (void) PrintChannelMoments(file,(PixelChannel) i,"channel",scale, in IdentifyImage()
936 (void) PrintChannelMoments(file,AlphaPixelChannel,"Alpha",scale, in IdentifyImage()
940 (void) FormatLocaleFile(file," Image moments:\n"); in IdentifyImage()
941 (void) PrintChannelMoments(file,CompositePixelChannel,"Overall",scale, in IdentifyImage()
949 (void) PrintChannelPerceptualHash(image,file,channel_phash); in IdentifyImage()
955 (void) FormatLocaleFile(file," Channel features (horizontal, vertical, " in IdentifyImage()
962 (void) PrintChannelFeatures(file,RedPixelChannel,"Red", in IdentifyImage()
964 (void) PrintChannelFeatures(file,GreenPixelChannel,"Green", in IdentifyImage()
966 (void) PrintChannelFeatures(file,BluePixelChannel,"Blue", in IdentifyImage()
972 (void) PrintChannelFeatures(file,CyanPixelChannel,"Cyan", in IdentifyImage()
974 (void) PrintChannelFeatures(file,MagentaPixelChannel,"Magenta", in IdentifyImage()
976 (void) PrintChannelFeatures(file,YellowPixelChannel,"Yellow", in IdentifyImage()
978 (void) PrintChannelFeatures(file,BlackPixelChannel,"Black", in IdentifyImage()
984 (void) PrintChannelFeatures(file,GrayPixelChannel,"Gray", in IdentifyImage()
997 (void) PrintChannelFeatures(file,(PixelChannel) i,channel, in IdentifyImage()
1004 (void) PrintChannelFeatures(file,AlphaPixelChannel,"Alpha", in IdentifyImage()
1012 (void) FormatLocaleFile(file," Total ink density: %.*g%%\n", in IdentifyImage()
1051 (void) FormatLocaleFile(file," Alpha: %s ",tuple); in IdentifyImage()
1053 (void) FormatLocaleFile(file," %s\n",tuple); in IdentifyImage()
1058 (void) FormatLocaleFile(file," Colors: %.20g\n",(double) in IdentifyImage()
1060 (void) FormatLocaleFile(file," Histogram:\n"); in IdentifyImage()
1061 (void) GetNumberColors(image,file,exception); in IdentifyImage()
1067 (void) FormatLocaleFile(file," Colors: %.20g\n",(double) in IdentifyImage()
1073 (void) FormatLocaleFile(file," Colormap entries: %.20g\n",(double) in IdentifyImage()
1075 (void) FormatLocaleFile(file," Colormap:\n"); in IdentifyImage()
1118 (void) FormatLocaleFile(file," %8ld: %s %s %s\n",(long) i,tuple, in IdentifyImage()
1125 (void) FormatLocaleFile(file," Mean error per pixel: %g\n", in IdentifyImage()
1128 (void) FormatLocaleFile(file," Normalized mean error: %g\n", in IdentifyImage()
1131 (void) FormatLocaleFile(file," Normalized maximum error: %g\n", in IdentifyImage()
1133 (void) FormatLocaleFile(file," Rendering intent: %s\n", in IdentifyImage()
1137 (void) FormatLocaleFile(file," Gamma: %g\n",image->gamma); in IdentifyImage()
1146 (void) FormatLocaleFile(file," Chromaticity:\n"); in IdentifyImage()
1147 (void) FormatLocaleFile(file," red primary: (%g,%g)\n", in IdentifyImage()
1149 (void) FormatLocaleFile(file," green primary: (%g,%g)\n", in IdentifyImage()
1152 (void) FormatLocaleFile(file," blue primary: (%g,%g)\n", in IdentifyImage()
1154 (void) FormatLocaleFile(file," white point: (%g,%g)\n", in IdentifyImage()
1158 (void) FormatLocaleFile(file," Tile geometry: %.20gx%.20g%+.20g%+.20g\n", in IdentifyImage()
1163 (void) FormatLocaleFile(file," Matte color: %s\n",color); in IdentifyImage()
1166 (void) FormatLocaleFile(file," Background color: %s\n",color); in IdentifyImage()
1169 (void) FormatLocaleFile(file," Border color: %s\n",color); in IdentifyImage()
1172 (void) FormatLocaleFile(file," Transparent color: %s\n",color); in IdentifyImage()
1173 (void) FormatLocaleFile(file," Interlace: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1175 (void) FormatLocaleFile(file," Intensity: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1177 (void) FormatLocaleFile(file," Compose: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1181 (void) FormatLocaleFile(file," Page geometry: %.20gx%.20g%+.20g%+.20g\n", in IdentifyImage()
1185 (void) FormatLocaleFile(file," Origin geometry: %+.20g%+.20g\n",(double) in IdentifyImage()
1187 (void) FormatLocaleFile(file," Dispose: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1190 (void) FormatLocaleFile(file," Delay: %.20gx%.20g\n",(double) image->delay, in IdentifyImage()
1193 (void) FormatLocaleFile(file," Iterations: %.20g\n",(double) in IdentifyImage()
1196 (void) FormatLocaleFile(file," Duration: %.20g\n",(double) in IdentifyImage()
1199 (void) FormatLocaleFile(file," Scene: %.20g of %.20g\n",(double) in IdentifyImage()
1203 (void) FormatLocaleFile(file," Scene: %.20g\n",(double) image->scene); in IdentifyImage()
1204 (void) FormatLocaleFile(file," Compression: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1207 (void) FormatLocaleFile(file," Quality: %.20g\n",(double) image->quality); in IdentifyImage()
1208 (void) FormatLocaleFile(file," Orientation: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1211 (void) FormatLocaleFile(file," Montage: %s\n",image->montage); in IdentifyImage()
1232 (void) FormatLocaleFile(file," Directory:\n"); in IdentifyImage()
1241 (void) FormatLocaleFile(file," %s",image_info->filename); in IdentifyImage()
1247 (void) FormatLocaleFile(file,"\n"); in IdentifyImage()
1250 (void) FormatLocaleFile(file," %.20gx%.20g %s\n",(double) in IdentifyImage()
1257 (void) FormatLocaleFile(file," %s:\n",property); in IdentifyImage()
1260 (void) FormatLocaleFile(file,"%s\n",value); in IdentifyImage()
1278 (void) FormatLocaleFile(file," Properties:\n"); in IdentifyImage()
1281 (void) FormatLocaleFile(file," %s: ",property); in IdentifyImage()
1284 (void) FormatLocaleFile(file,"%s\n",value); in IdentifyImage()
1295 (void) FormatLocaleFile(file," Clipping path: "); in IdentifyImage()
1297 (void) fputc('\n',file); in IdentifyImage()
1298 (void) FormatLocaleFile(file,"%s\n",value); in IdentifyImage()
1310 (void) FormatLocaleFile(file," Profiles:\n"); in IdentifyImage()
1316 (void) FormatLocaleFile(file," Profile-%s: %.20g bytes\n",name, in IdentifyImage()
1405 (void) FormatLocaleFile(file," %s[%.20g,%.20g]: ",tag, in IdentifyImage()
1423 (void) fputs(attribute_list[j],file); in IdentifyImage()
1424 (void) fputs("\n",file); in IdentifyImage()
1436 PrintStringInfo(file,name,profile); in IdentifyImage()
1447 (void) FormatLocaleFile(file," Artifacts:\n"); in IdentifyImage()
1450 (void) FormatLocaleFile(file," %s: ",artifact); in IdentifyImage()
1453 (void) FormatLocaleFile(file,"%s\n",value); in IdentifyImage()
1464 (void) FormatLocaleFile(file," Registry:\n"); in IdentifyImage()
1467 (void) FormatLocaleFile(file," %s: ",registry); in IdentifyImage()
1471 (void) FormatLocaleFile(file,"%s\n",value); in IdentifyImage()
1475 (void) FormatLocaleFile(file," Tainted: %s\n",CommandOptionToMnemonic( in IdentifyImage()
1478 (void) FormatLocaleFile(file," Filesize: %s\n",format); in IdentifyImage()
1483 (void) FormatLocaleFile(file," Number pixels: %s\n",format); in IdentifyImage()
1488 (void) FormatLocaleFile(file," Pixels per second: %s\n",format); in IdentifyImage()
1490 (void) FormatLocaleFile(file," User time: %0.3fu\n",user_time); in IdentifyImage()
1491 (void) FormatLocaleFile(file," Elapsed time: %lu:%02lu.%03lu\n", in IdentifyImage()
1494 (void) FormatLocaleFile(file," Version: %s\n",GetMagickVersion((size_t *) in IdentifyImage()
1496 (void) fflush(file); in IdentifyImage()
1497 return(ferror(file) != 0 ? MagickFalse : MagickTrue); in IdentifyImage()