Lines Matching refs:grey
178 static int grey = 0, debug = 0, testfont = 0, testclut = 0;
244 else if (strcmp(argv[next], "-bw") == 0) // use only shades of grey (test)
245 grey = 1;
368 if ( grey == 1 )
380 if ( grey == 1 )
398 printf("Converted %d pixels%s...\n", pixels/depth, ((grey==1)?" to grayscale":""));
526 (depth==3)?"Millions of":"256", (grey==0)?"colors":"grays");
1110 // we must have a non-grey color
1258 if ( i == -1 ) // found a color that is not grey
1267 if (debug>1) printf("now grey %06X\n", color24);