> This is just to let you know that I've started to work on that. It's not
> like it's my highest priority but I want to put some energy into this.
Ok, I'm happy to have support for the ImageIO codecs.
> During the weekend I've started to do the necessary changes to remove
> the dependency on the com/sun/* classes. The following is mostly for the
> Batik people to comment on the approach I have in mind:
> - I've locally started to move the codec classes (TIFF and PNG) to the
> sources-1.3 directory.
> - I'm writing an adapter to encode images to TIFF/PNG to hide the
> dependency.
What interface are you using for the encoder? Please don't just
support
BufferedImage. For people rasterizing large images at high resolutions
BufferedImage is not a very good interface (think large format ink jet).
> - For JDKs >= 1.4 (and for GNU Classpath) I propose to write additional
> adapters that use the ImageIO API to handled the image
decoding/encoding.
> These adapters will land in sources-1.4.
> - The adapter implementations will be discovered through the Service
> class.
This sounds fine.
> Binaries compiled under Sun JDK 1.3.1 would still run on Sun JDKs 1.4.2
and
> 5. For GNU Classpath the sources will be compiled in JDK 1.4 fashion. I
> assume that ImageIO support for GNU Classpath is there, right?
I would hope so, given that they suggested we use it instead of the sun
JPEG
classes.
> So far I've had problems compiling stuff under CygWin because GNU
> Classpath seems to require GCC 4.0. CygWin only contains GCC 3.x. ATM, I
> don't have access to any Unix machine with GCJ installed. On the other
> side, I've been able to make experiments with IKVM which also uses GNU
> Classpath. But there seems to be bigger problems with its AWT
> implementation so that I currently don't have high hopes that Batik will
> run under IKVM which would also have been nice.
Well I must admit that the lack of BasicStroke support in either means
that
this really doesn't seem very useful to me. Without Basic Stroke you
can't
stroke anything, doesn't that seem of questionable utility? It might put
pressure
on them to support it but without it 90% of content won't render properly
:/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]