Project

General

Profile

Actions

Bug #4279

closed

FOP give image error on some systems (linux, windows so far)

Added by ben leinfelder over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
reporting
Target version:
Start date:
08/03/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4279

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.

Actions #1

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.

Actions #2

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

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4279

Actions

Also available in: Atom PDF