Hi Scott, Scott A. Ruffner wrote:
has anyone made any progress on this issue -- Batik rendering very slowly on Mac OSX 10.4.2? any suggestions are welcome.
It occurred to me that they might want an either a BGR style image, or a component image (instead of a packed image). If you know a bit about Java2D you should be able to construct such a ColorModel (the first is a DirectColorModel with a different set of masks), the second is a ComponentColorModel. There is also some small chance that they will only drop into the really fast case if the ColorModel is '==' to the ColorModel that a BufferedImage of the appropriate type uses. You might also poke at and dump the contents of the GraphicsEnvironment (get all the screenDevices, get either 'defaultConfiguration' or all configurations (or best with alpha) and get the ColorModel from that. I was thinking that Batik should really defer some of this stuff to a UserAgent type class so it's more easily configured. In the past we had to be very careful about what we used due to fairly pervasive Alpha handling bugs in the JDK. A little bit of testing has shown that some of these still exist but it still might be nice to allow for configuration here. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
