From: <ls...@us...> - 2008-03-28 21:04:21
|
Revision: 3900 http://jnode.svn.sourceforge.net/jnode/?rev=3900&view=rev Author: lsantha Date: 2008-03-28 14:04:19 -0700 (Fri, 28 Mar 2008) Log Message: ----------- Added image writer service providers of OpenJDK. Modified Paths: -------------- trunk/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java Modified: trunk/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java =================================================================== --- trunk/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java 2008-03-28 21:02:46 UTC (rev 3899) +++ trunk/core/src/classpath/javax/javax/imageio/spi/IIORegistry.java 2008-03-28 21:04:19 UTC (rev 3900) @@ -47,10 +47,14 @@ import gnu.java.awt.ClasspathToolkit; import gnu.javax.imageio.bmp.BMPImageReaderSpi; -import gnu.javax.imageio.bmp.BMPImageWriterSpi; import gnu.javax.imageio.gif.GIFImageReaderSpi; import gnu.javax.imageio.png.PNGImageReaderSpi; import org.jnode.imageio.jpeg.JPEGImageReaderSpi; +import com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi; +import com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi; +import com.sun.imageio.plugins.gif.GIFImageWriterSpi; +import com.sun.imageio.plugins.png.PNGImageWriterSpi; +import com.sun.imageio.plugins.bmp.BMPImageWriterSpi; public final class IIORegistry extends ServiceRegistry { @@ -93,6 +97,11 @@ registerServiceProvider(new JPEGImageReaderSpi()); registerServiceProvider(new BMPImageWriterSpi()); + registerServiceProvider(new WBMPImageReaderSpi()); + registerServiceProvider(new WBMPImageWriterSpi()); + registerServiceProvider(new GIFImageWriterSpi()); + registerServiceProvider(new PNGImageWriterSpi()); + Toolkit toolkit = Toolkit.getDefaultToolkit(); if (toolkit instanceof ClasspathToolkit) ((ClasspathToolkit)toolkit).registerImageIOSpis(this); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |