| # | Line 656 | Line 656 | register rgbpixel *l3; | |
|---|---|---|
| 656 | if (getscan(y) < 0) | |
| 657 | quiterr("cannot seek for picreadline"); | |
| 658 | /* convert scanline */ | |
| 659 | < | if (scale) |
| 660 | < | for (i = 0; i < xmax; i++) |
| 661 | < | if (scanline[i][EXP]) |
| 662 | < | scanline[i][EXP] += scale; |
| 663 | < | normcolrs(scanline, xmax); |
| 659 | > | normcolrs(scanline, xmax, scale); |
| 660 | for (i = 0; i < xmax; i++) { | |
| 661 | l3[i].r = scanline[i][RED]; | |
| 662 | l3[i].g = scanline[i][GRN]; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |