375 |
|
COLOR ctmp; |
376 |
|
|
377 |
|
if (formatval(fmt, line)) { |
378 |
< |
if (!strcmp(fmt, CIEFMT)) { |
378 |
> |
if (!strcmp(fmt, CIEFMT)) |
379 |
|
mybright = &xyz_bright; |
380 |
< |
if (original) { |
381 |
< |
scalecolor(exposure, 1./WHTEFFICACY); |
382 |
< |
doexposure++; |
383 |
< |
} |
384 |
< |
} else if (!strcmp(fmt, COLRFMT)) |
380 |
> |
else if (!strcmp(fmt, COLRFMT)) |
381 |
|
mybright = &rgb_bright; |
382 |
|
else |
383 |
|
wrongformat++; |
384 |
|
} else if (original && isexpos(line)) { |
385 |
|
d = 1.0/exposval(line); |
386 |
|
scalecolor(exposure, d); |
387 |
+ |
fprintf(stderr, "scaled exposure by %f, now at %f\n", d, bright(exposure)); |
388 |
|
doexposure++; |
389 |
|
} else if (original && iscolcor(line)) { |
390 |
|
colcorval(ctmp, line); |