< prev index next >

src/java.desktop/share/classes/com/sun/imageio/plugins/gif/GIFImageWriter.java

Print this page

        

*** 1312,1322 **** class GIFImageWriteParam extends ImageWriteParam { GIFImageWriteParam(Locale locale) { super(locale); this.canWriteCompressed = true; this.canWriteProgressive = true; ! this.compressionTypes = new String[] {"LZW", "lzw"}; this.compressionType = compressionTypes[0]; } public void setCompressionMode(int mode) { if (mode == MODE_DISABLED) { --- 1312,1322 ---- class GIFImageWriteParam extends ImageWriteParam { GIFImageWriteParam(Locale locale) { super(locale); this.canWriteCompressed = true; this.canWriteProgressive = true; ! this.compressionTypes = new String[] {"LZW"}; this.compressionType = compressionTypes[0]; } public void setCompressionMode(int mode) { if (mode == MODE_DISABLED) {
< prev index next >