145 |
|
if (outfmt != 'a') |
146 |
|
SET_FILE_BINARY(stdout); |
147 |
|
if (header) { |
148 |
< |
sprintf(info, "NCOLS=%d\n", stdos.reclen); |
148 |
> |
sprintf(info, "NCOLS=%d\nNCOMP=3\n", |
149 |
> |
stdos.reclen); |
150 |
|
printheader(stdout, info); |
151 |
|
} |
152 |
|
printresolu(stdout, xres, yres); |
208 |
|
sprintf(cp, "BIN=%d\n", bn); |
209 |
|
while (*cp) ++cp; |
210 |
|
} |
211 |
< |
sprintf(cp, "NCOLS=%d\n", sop->reclen); |
211 |
> |
sprintf(cp, "NCOLS=%d\nNCOMP=3\n", sop->reclen); |
212 |
|
printheader(sop->ofp, info); |
213 |
|
} |
214 |
|
if (accumulate > 0) { /* global resolution */ |