| 303 |
|
rval = setspectrsamp(CNDX, WLPART); |
| 304 |
|
if (rval < 0) |
| 305 |
|
error(USER, "unsupported spectral sampling"); |
| 306 |
< |
if (out_prims != NULL) { |
| 306 |
> |
if (sens_curve != NULL) |
| 307 |
> |
out_prims = NULL; |
| 308 |
> |
else if (out_prims != NULL) { |
| 309 |
|
if (!rval) |
| 310 |
|
error(WARNING, "spectral range incompatible with color output"); |
| 311 |
|
} else if (NCSAMP == 3) |
| 359 |
|
printf("SOFTWARE= %s\n", VersionID); |
| 360 |
|
fputnow(stdout); |
| 361 |
|
if (rval > 0) /* saved from setrtoutput() call */ |
| 362 |
< |
printf("NCOMP=%d\n", rval); |
| 362 |
> |
fputncomp(rval, stdout); |
| 363 |
> |
if (NCSAMP > 3) |
| 364 |
> |
fputwlsplit(WLPART, stdout); |
| 365 |
> |
if ((out_prims != stdprims) & (out_prims != NULL)) |
| 366 |
> |
fputprims(out_prims, stdout); |
| 367 |
|
if ((outform == 'f') | (outform == 'd')) |
| 368 |
|
fputendian(stdout); |
| 369 |
|
fputformat(formstr(outform), stdout); |