Lines Matching refs:argv
196 main( int argc, char *argv[] )
216 if (strcmp(argv[next], "-i") == 0) // image file in raw QT uncompressed format (.qtif)
217 file = argv[++next];
219 else if (strcmp(argv[next], "-o") == 0) // output file for WHD image
220 kraw = argv[++next];
221 else if (strcmp(argv[next], "-io") == 0) // output file for image
222 out = argv[++next];
224 else if (strcmp(argv[next], "-n") == 0) // numbers of reserved lines
225 lines = atoi(argv[++next]);
226 else if (strcmp(argv[next], "-fg") == 0) // foreground color in 24 bits
227 sscanf(argv[++next], "%i", &fg24);
228 else if (strcmp(argv[next], "-bg") == 0) // background color in 24 bits
229 sscanf(argv[++next], "%i", &bg24);
230 else if (strcmp(argv[next], "-c") == 0) // input file for clut
231 clutin = argv[++next];
232 else if (strcmp(argv[next], "-h") == 0) // display more help
236 else if (strcmp(argv[next], "-co") == 0) // output file for generating appleClut8.h array included in this file
237 clutout = argv[++next];
238 else if (strcmp(argv[next], "-a8") == 0) // output file for testing system CLUT 8 in QT RAW (test)
240 else if (strcmp(argv[next], "-r") == 0) // output file for QT clut RAW (test)
242 else if (strcmp(argv[next], "-qt") == 0) // output file for QT RAW (test)
243 qtraw = argv[++next];
244 else if (strcmp(argv[next], "-bw") == 0) // use only shades of grey (test)
246 else if (strcmp(argv[next], "-n8") == 0) // don't convert to 8 by default (test)
248 else if (strcmp(argv[next], "-n24") == 0) // convert to 8 to 24 (test)
250 else if (strcmp(argv[next], "-f") == 0) // test font (test)
252 else if (strcmp(argv[next], "-w") == 0) // read WHD raw file and output 8 bit tqif
253 whdname = argv[++next];
255 else if (strcmp(argv[next], "-debug") == 0) // verbose