forked from tTh/FloatImg
math error ?
This commit is contained in:
parent
dc4f2f8089
commit
2116d62c63
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user