Bug #4279
closedFOP give image error on some systems (linux, windows so far)
0%
Description
When adding image (png) output from the R actor, we were getting odd image IO errors from the Apache-FOP classes. It's not every image and not on all platforms. Before going to Kruger, we saw it on my Ubuntu machine, Jing's linux (I believe Ubuntu), and then on Judith's Windows XP machine (that was the surprise!)
It does not seem to happen in OS X at this point.
Updated by ben leinfelder over 15 years ago
Preliminary testing:
-recreated the error on my Ubuntu machine.
-upgraded the Apache Commons IO jar to 1.4 (from 1.3)
-error is not happening for the same test case.
Updated by ben leinfelder over 15 years ago
Turns out the JAI image reader for PNGs was the culprit. There's a Sun image reader that is also registered, but the order was under-specified so sometimes we'd get the good one and other times the bad one.
I've set the ordering to use the preferred image reader service first:
1) com.sun.imageio.plugins.png.PNGImageReader
2) com.sun.media.imageioimpl.plugins.png.CLibPNGImageReader