Searched refs:pnmline (Results 1 – 1 of 1) sorted by relevance
/external/libpng/contrib/gregbook/ |
D | wpng.c | 164 char *p, pnmchar, pnmline[256]; in main() local 334 fgets(pnmline, 256, wpng_info.infile); in main() 335 if (pnmline[0] != 'P' || ((pnmchar = pnmline[1]) != '5' && in main() 347 fgets(pnmline, 256, wpng_info.infile); /* lose any comments */ in main() 348 } while (pnmline[0] == '#'); in main() 349 sscanf(pnmline, "%ld %ld", &wpng_info.width, &wpng_info.height); in main() 351 fgets(pnmline, 256, wpng_info.infile); /* more comment lines */ in main() 352 } while (pnmline[0] == '#'); in main() 353 sscanf(pnmline, "%d", &maxval); in main()
|