math error ?

This commit is contained in:
tonton th 2021-02-23 11:32:10 +01:00
parent dc4f2f8089
commit 2116d62c63

View File

@ -34,7 +34,7 @@ for (idx=0; idx < pimg->height; idx++) {
// fprintf(stderr, "%6d %6d\n", idx, sline); // fprintf(stderr, "%6d %6d\n", idx, sline);
pimg->R[pos] = pimg->G[pos]; pimg->R[pos] = pimg->G[pos];
pimg->B[pos] = pimg->G[pos]; pimg->B[pos] = pimg->G[pos];
pimg->G[pos] *= 1.414; pimg->G[pos] *= 1.717;
} }
return 0; return 0;