On 31 Mar 2009, at 12:03, Jeremias Maerki wrote:

FWIW:

The change that happened from 0.94 to 0.95 was the introduction of a new image loading framework. But that has improved performance in most cases
rather than the opposite. Specifically for PNG, there was a change:
before, our internal PNG codec was used while now we use the PNG codec
from ImageIO. That this should have such an effect surprises me as I
would expect that to actually be faster.

As always: It depends... :-)
This should be the case if the ImageIO codec is a native one. I seem to remember a similar issue on Mac OS X for TIFF output. Apple does not supply a native TIFF codec(*), so the pure Java implementation is used, and that one is much, much slower than the TIFF codec we used to use.

(*) I would have to look up if that's still the case. With 1.4, they did supply a native codec, but apparently it raised some security issues, so in 1.5, it was removed. Haven't checked yet if they included one with their 1.6 JVM.


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to