]> source.dussan.org Git - xmlgraphics-fop.git/commit
By using the getRGB() method we convert all PNG images to sRGB regardless of their...
authorJeremias Maerki <jeremias@apache.org>
Wed, 2 Aug 2006 15:50:20 +0000 (15:50 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 2 Aug 2006 15:50:20 +0000 (15:50 +0000)
commit99901f942d249cda9c88d2ef317c8143ac1770e8
tree55cbfe6f29142b0dcd2166f9565093f60f9bc996
parentf11d6d86d02cf0f984c6270cd4d5a78cbbd4e43e
By using the getRGB() method we convert all PNG images to sRGB regardless of their original color spaces. So we should also always return the sRGB color space. Otherwise, grayscale PNGs, for example, will not be displayed correctly.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@428037 13f79535-47bb-0310-9956-ffa450edef68
src/java-1.4/org/apache/fop/image/ImageIOImage.java