Lines Matching defs:file
14 * [file-name]
42 * For color-mapped images a four channel color-map is used and the PNG file has
71 * If file-name is given then the PNG is written to that file, else it is
555 write_png(const char **name, FILE *fp, int color_type, int bit_depth,
678 /* Write the file header. */
708 /* Finish writing the file. */
727 FILE *fp = tmpfile();
731 FILE *ip = fopen(name, "rb");
759 perror("temporary file");
760 fprintf(stderr, "temporary file write error\n");
787 perror("temporary file");
788 fprintf(stderr, "temporary file read error\n");
801 fprintf(stderr, "%s: out of memory loading file\n", name);
805 fprintf(stderr, "%s: empty file\n", name);
820 fprintf(stderr, "makepng: %s: could not open temporary file\n", name);
899 fprintf(stderr, "%s: file too long (%lu) for an ICC profile\n",
931 fprintf(stderr, " use '<' to read a file: \"<filename\"\n");
995 png_bytep file = NULL;
997 text->text_length = load_file(param+1, &file);
998 text->text = (png_charp)file;
1279 FILE *fp = stdout;
1416 if (argc == 1) /* It's the file name */
1436 "[--color=...] color-type bit-depth [file-name]\n"
1437 " Make a test PNG file, by default writes to stdout.\n");