diff options
Diffstat (limited to 'src/org/apache/fop/image')
-rw-r--r-- | src/org/apache/fop/image/JimiImage.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/image/JimiImage.java b/src/org/apache/fop/image/JimiImage.java index a4b3113b5..80bdb609b 100644 --- a/src/org/apache/fop/image/JimiImage.java +++ b/src/org/apache/fop/image/JimiImage.java @@ -131,8 +131,8 @@ public class JimiImage extends AbstractFopImage { for (int i = 0; i < this.m_height; i++) { for (int j = 0; j < this.m_width; j++) { int p = tmpMap[i * this.m_width + j]; - int r = (p > > 16) & 0xFF; - int g = (p > > 8) & 0xFF; + int r = (p >> 16) & 0xFF; + int g = (p >> 8) & 0xFF; int b = (p) & 0xFF; this.m_bitmaps[3 * (i * this.m_width + j)] = (byte)(r & 0xFF); |