diff options
author | Jeremias Maerki <jeremias@apache.org> | 2010-02-10 08:53:05 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2010-02-10 08:53:05 +0000 |
commit | a2f1110c29a270ca28d130f65b8109b3c2cb5d71 (patch) | |
tree | 50ce433ebcf2e1d0c0c19c0f8697064d0e84753c /src | |
parent | bd80abff7286861c0dc30e7b22b38865bac6e36e (diff) | |
download | xmlgraphics-fop-a2f1110c29a270ca28d130f65b8109b3c2cb5d71.tar.gz xmlgraphics-fop-a2f1110c29a270ca28d130f65b8109b3c2cb5d71.zip |
Bugzilla #48696:
Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images.
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@908394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/afp/ioca/IDEStructureParameter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/ioca/IDEStructureParameter.java b/src/java/org/apache/fop/afp/ioca/IDEStructureParameter.java index 8c0d0d49a..5c1b9da94 100644 --- a/src/java/org/apache/fop/afp/ioca/IDEStructureParameter.java +++ b/src/java/org/apache/fop/afp/ioca/IDEStructureParameter.java @@ -46,7 +46,7 @@ public class IDEStructureParameter implements Streamable { private boolean grayCoding = false; /** the image color model */ - private byte colorModel = COLOR_MODEL_RGB; + private byte colorModel = COLOR_MODEL_YCRCB; /** the array with the number of bits/IDE for each component */ private byte[] bitsPerIDE = new byte[] {(byte)1}; //1-bit by default |