commit | f15976b12f6cbe295cf9a93d33956b0cd4458f0e | [log] [tgz] |
---|---|---|
author | cristy <[email protected]> | Sat Feb 28 22:21:36 2015 +0000 |
committer | cristy <[email protected]> | Sat Feb 28 22:21:36 2015 +0000 |
tree | 0446f6e3e95dcebdf76c517b005307bf81d6f46d | |
parent | 9eeb7f0a9cf312dc336b95e2fef3d6f152a84247 [diff] [blame] |
diff --git a/coders/rgf.c b/coders/rgf.c index e3d7a9f..cdbd3d8 100644 --- a/coders/rgf.c +++ b/coders/rgf.c
@@ -366,7 +366,7 @@ for (x=0; x < (ssize_t) image->columns; x++) { byte>>=1; - if (GetPixelLuma(image,p) < (QuantumRange/2)) + if (GetPixelLuma(image,p) < (QuantumRange/2.0)) byte|=0x80; bit++; if (bit == 8)