# | Line 113 | Line 113 | char *argv[]; | |
---|---|---|
113 | head.ras_depth != 8) | |
114 | quiterr("incompatible format"); | |
115 | /* put header */ | |
116 | < | printargs(argc, argv, stdout); |
116 | > | printargs(i, argv, stdout); |
117 | putchar('\n'); | |
118 | fputresolu(YMAJOR|YDECR, xmax, ymax, stdout); | |
119 | /* convert file */ | |
# | Line 291 | Line 291 | register rgbpixel *l3; | |
291 | quiterr("read error in picreadline3"); | |
292 | inpic->nexty = y+1; | |
293 | /* convert scanline */ | |
294 | < | normcolrs(inline, xmax); |
294 | > | normcolrs(inline, xmax, 0); |
295 | for (i = 0; i < xmax; i++) { | |
296 | l3[i].r = inline[i][RED]; | |
297 | l3[i].g = inline[i][GRN]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |