Lines Matching refs:printf
18 printf("\nusage: setupdialog -i <image file> -oi <image output> -n <numbers file> -on <numbers output>\n");
20 printf("\nYou can supply a panic image file, a numbers file, or both. Input files\n");
21 printf("must be in RAW format where each pixel is represented by an index into the\n");
22 printf("MacOS X system CLUT. The first %d bytes must be the width, height, and depth\n", 3 * sizeof(short));
23 printf("(in that order, %d bytes each).\n", sizeof(short));
25 printf("\nThe output files are generated C structures in the format the panic ui code\n");
26 printf("expects (default output files are panic_image.c and rendered_numbers.c).\n\n");
76 printf("\nNo numbers file to process\n");
80 printf("bad nums infile.. bailing.\n");
88 printf("\nNo image file to process\n");
94 printf("bad infile.. bailing.\n");
98 printf("\nReading image file...\n");
101 printf("got width: %d\n", width);
103 printf("got height: %d\n", height);
105 printf("got depth: %d\n", depth);
108 printf("Invalid image file header (width, height, or depth is 0)\n");
115 printf("couldn't malloc fileArr (%d pixels)... bailing.\n", pixels);
155 printf("couldn't open out file.. bailing\n");
223 printf("\nReading numbers file...\n");
225 printf("got width: %d\n", totalwidth);
227 printf("got height: %d\n", height);
229 printf("got depth: %d\n", depth);
232 printf("Invalid numbers file header (width, height, or depth is 0)\n");
286 printf("couldn't open numbers outfile.. bailing\n");