public class com.sun.imageio.plugins.gif.GIFImageWriter extends javax.imageio.ImageWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.gif.GIFImageWriter
super_class: javax.imageio.ImageWriter
{
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final java.lang.String STANDARD_METADATA_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_1.0"
static final java.lang.String STREAM_METADATA_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_gif_stream_1.0"
static final java.lang.String IMAGE_METADATA_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_gif_image_1.0"
private javax.imageio.stream.ImageOutputStream stream;
descriptor: Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0002) ACC_PRIVATE
private boolean isWritingSequence;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.imageio.plugins.gif.GIFWritableStreamMetadata theStreamMetadata;
descriptor: Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
flags: (0x0002) ACC_PRIVATE
private int imageIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static int getNumBits(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: iload 0
lookupswitch { // 8
2: 1
4: 3
8: 5
16: 7
32: 9
64: 11
128: 13
256: 15
default: 17
}
1: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 2: goto 18
end local 1 3: StackMap locals:
StackMap stack:
iconst_2
istore 1
start local 1 4: goto 18
end local 1 5: StackMap locals:
StackMap stack:
iconst_3
istore 1
start local 1 6: goto 18
end local 1 7: StackMap locals:
StackMap stack:
iconst_4
istore 1
start local 1 8: goto 18
end local 1 9: StackMap locals:
StackMap stack:
iconst_5
istore 1
start local 1 10: goto 18
end local 1 11: StackMap locals:
StackMap stack:
bipush 6
istore 1
start local 1 12: goto 18
end local 1 13: StackMap locals:
StackMap stack:
bipush 7
istore 1
start local 1 14: goto 18
end local 1 15: StackMap locals:
StackMap stack:
bipush 8
istore 1
start local 1 16: goto 18
end local 1 17: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Bad palette length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
start local 1 18: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 value I
2 3 1 numBits I
4 5 1 numBits I
6 7 1 numBits I
8 9 1 numBits I
10 11 1 numBits I
12 13 1 numBits I
14 15 1 numBits I
16 17 1 numBits I
18 19 1 numBits I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
private static void computeRegions(java.awt.Rectangle, java.awt.Dimension, javax.imageio.ImageWriteParam);
descriptor: (Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: iconst_1
istore 4
start local 4 2: aload 2
ifnull 20
3: aload 2
invokevirtual javax.imageio.ImageWriteParam.getSourceBands:()[I
astore 5
start local 5 4: aload 5
ifnull 8
5: aload 5
arraylength
iconst_1
if_icmpne 7
6: aload 5
iconst_0
iaload
ifeq 8
7: StackMap locals: int int int[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Cannot sub-band image!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.imageio.ImageWriteParam.getSourceRegion:()Ljava/awt/Rectangle;
astore 6
start local 6 9: aload 6
ifnull 12
10: aload 6
aload 0
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 6
11: aload 0
aload 6
invokevirtual java.awt.Rectangle.setBounds:(Ljava/awt/Rectangle;)V
12: StackMap locals: java.awt.Rectangle
StackMap stack:
aload 2
invokevirtual javax.imageio.ImageWriteParam.getSubsamplingXOffset:()I
istore 7
start local 7 13: aload 2
invokevirtual javax.imageio.ImageWriteParam.getSubsamplingYOffset:()I
istore 8
start local 8 14: aload 0
dup
getfield java.awt.Rectangle.x:I
iload 7
iadd
putfield java.awt.Rectangle.x:I
15: aload 0
dup
getfield java.awt.Rectangle.y:I
iload 8
iadd
putfield java.awt.Rectangle.y:I
16: aload 0
dup
getfield java.awt.Rectangle.width:I
iload 7
isub
putfield java.awt.Rectangle.width:I
17: aload 0
dup
getfield java.awt.Rectangle.height:I
iload 8
isub
putfield java.awt.Rectangle.height:I
18: aload 2
invokevirtual javax.imageio.ImageWriteParam.getSourceXSubsampling:()I
istore 3
19: aload 2
invokevirtual javax.imageio.ImageWriteParam.getSourceYSubsampling:()I
istore 4
end local 8 end local 7 end local 6 end local 5 20: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.awt.Rectangle.width:I
iload 3
iadd
iconst_1
isub
iload 3
idiv
21: aload 0
getfield java.awt.Rectangle.height:I
iload 4
iadd
iconst_1
isub
iload 4
idiv
22: invokevirtual java.awt.Dimension.setSize:(II)V
23: aload 1
getfield java.awt.Dimension.width:I
ifle 24
aload 1
getfield java.awt.Dimension.height:I
ifgt 25
24: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Empty source region!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 sourceBounds Ljava/awt/Rectangle;
0 26 1 destSize Ljava/awt/Dimension;
0 26 2 p Ljavax/imageio/ImageWriteParam;
1 26 3 periodX I
2 26 4 periodY I
4 20 5 sourceBands [I
9 20 6 sourceRegion Ljava/awt/Rectangle;
13 20 7 gridX I
14 20 8 gridY I
MethodParameters:
Name Flags
sourceBounds
destSize
p
private static byte[] createColorTable(java.awt.image.ColorModel, java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.awt.image.IndexColorModel
ifeq 27
1: aload 0
checkcast java.awt.image.IndexColorModel
astore 3
start local 3 2: aload 3
invokevirtual java.awt.image.IndexColorModel.getMapSize:()I
istore 4
start local 4 3: iload 4
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.getGifPaletteSize:(I)I
istore 5
start local 5 4: iload 5
newarray 8
astore 6
start local 6 5: iload 5
newarray 8
astore 7
start local 7 6: iload 5
newarray 8
astore 8
start local 8 7: aload 3
aload 6
invokevirtual java.awt.image.IndexColorModel.getReds:([B)V
8: aload 3
aload 7
invokevirtual java.awt.image.IndexColorModel.getGreens:([B)V
9: aload 3
aload 8
invokevirtual java.awt.image.IndexColorModel.getBlues:([B)V
10: iload 4
istore 9
start local 9 11: goto 16
12: StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel top java.awt.image.IndexColorModel int int byte[] byte[] byte[] int
StackMap stack:
aload 6
iload 9
aload 6
iconst_0
baload
bastore
13: aload 7
iload 9
aload 7
iconst_0
baload
bastore
14: aload 8
iload 9
aload 8
iconst_0
baload
bastore
15: iinc 9 1
StackMap locals:
StackMap stack:
16: iload 9
iload 5
if_icmplt 12
end local 9 17: iconst_3
iload 5
imul
newarray 8
astore 2
start local 2 18: iconst_0
istore 9
start local 9 19: iconst_0
istore 10
start local 10 20: goto 25
21: StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel byte[] java.awt.image.IndexColorModel int int byte[] byte[] byte[] int int
StackMap stack:
aload 2
iload 9
iinc 9 1
aload 6
iload 10
baload
bastore
22: aload 2
iload 9
iinc 9 1
aload 7
iload 10
baload
bastore
23: aload 2
iload 9
iinc 9 1
aload 8
iload 10
baload
bastore
24: iinc 10 1
StackMap locals:
StackMap stack:
25: iload 10
iload 5
if_icmplt 21
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 26: goto 40
end local 2 StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel
StackMap stack:
27: aload 1
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 39
28: aload 1
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
iconst_0
iaload
istore 3
start local 3 29: iload 3
bipush 8
if_icmple 31
30: bipush 8
istore 3
31: StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel top int
StackMap stack:
iconst_3
iconst_1
iload 3
ishl
imul
istore 4
start local 4 32: iload 4
newarray 8
astore 2
start local 2 33: iconst_0
istore 5
start local 5 34: goto 37
35: StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel byte[] int int int
StackMap stack:
aload 2
iload 5
iload 5
iconst_3
idiv
i2b
bastore
36: iinc 5 1
StackMap locals:
StackMap stack:
37: iload 5
iload 4
if_icmplt 35
end local 5 end local 4 end local 3 38: goto 40
end local 2 39: StackMap locals: java.awt.image.ColorModel java.awt.image.SampleModel
StackMap stack:
aconst_null
astore 2
start local 2 40: StackMap locals: byte[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 colorModel Ljava/awt/image/ColorModel;
0 41 1 sampleModel Ljava/awt/image/SampleModel;
18 27 2 colorTable [B
33 39 2 colorTable [B
40 41 2 colorTable [B
2 26 3 icm Ljava/awt/image/IndexColorModel;
3 26 4 mapSize I
4 26 5 ctSize I
5 26 6 reds [B
6 26 7 greens [B
7 26 8 blues [B
11 17 9 i I
19 26 9 idx I
20 26 10 i I
29 38 3 numBits I
32 38 4 colorTableLength I
34 38 5 i I
MethodParameters:
Name Flags
colorModel
sampleModel
private static int getGifPaletteSize(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_2
if_icmpgt 2
1: iconst_2
ireturn
2: StackMap locals:
StackMap stack:
iinc 0 -1
3: iload 0
iload 0
iconst_1
ishr
ior
istore 0
4: iload 0
iload 0
iconst_2
ishr
ior
istore 0
5: iload 0
iload 0
iconst_4
ishr
ior
istore 0
6: iload 0
iload 0
bipush 8
ishr
ior
istore 0
7: iload 0
iload 0
bipush 16
ishr
ior
istore 0
8: iload 0
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 x I
MethodParameters:
Name Flags
x
public void <init>(com.sun.imageio.plugins.gif.GIFImageWriterSpi);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.imageio.ImageWriter.<init>:(Ljavax/imageio/spi/ImageWriterSpi;)V
1: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
3: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.wroteSequenceHeader:Z
4: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
5: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 7 1 originatingProvider Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;
MethodParameters:
Name Flags
originatingProvider
public boolean canWriteSequence();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
private void convertMetadata(java.lang.String, javax.imageio.metadata.IIOMetadata, javax.imageio.metadata.IIOMetadata);
descriptor: (Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
invokevirtual javax.imageio.metadata.IIOMetadata.getNativeMetadataFormatName:()Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnull 6
3: aload 5
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 1
astore 4
5: goto 15
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
invokevirtual javax.imageio.metadata.IIOMetadata.getExtraMetadataFormatNames:()[Ljava/lang/String;
astore 6
start local 6 7: aload 6
ifnull 15
8: iconst_0
istore 7
start local 7 9: goto 14
10: StackMap locals: java.lang.String[] int
StackMap stack:
aload 6
iload 7
aaload
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 1
astore 4
12: goto 15
13: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
aload 6
arraylength
if_icmplt 10
end local 7 end local 6 15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
16: aload 2
invokevirtual javax.imageio.metadata.IIOMetadata.isStandardMetadataFormatSupported:()Z
ifeq 18
17: ldc "javax_imageio_1.0"
astore 4
18: StackMap locals:
StackMap stack:
aload 4
ifnull 23
19: aload 2
aload 4
invokevirtual javax.imageio.metadata.IIOMetadata.getAsTree:(Ljava/lang/String;)Lorg/w3c/dom/Node;
astore 6
start local 6 20: aload 3
aload 4
aload 6
invokevirtual javax.imageio.metadata.IIOMetadata.mergeTree:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
end local 6 21: goto 23
StackMap locals:
StackMap stack: javax.imageio.metadata.IIOInvalidTreeException
22: pop
23: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 24 1 metadataFormatName Ljava/lang/String;
0 24 2 inData Ljavax/imageio/metadata/IIOMetadata;
0 24 3 outData Ljavax/imageio/metadata/IIOMetadata;
1 24 4 formatName Ljava/lang/String;
2 24 5 nativeFormatName Ljava/lang/String;
7 15 6 extraFormatNames [Ljava/lang/String;
9 15 7 i I
20 21 6 root Lorg/w3c/dom/Node;
Exception table:
from to target type
19 21 22 Class javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
metadataFormatName
inData
outData
public javax.imageio.metadata.IIOMetadata convertStreamMetadata(javax.imageio.metadata.IIOMetadata, javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "inData == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getDefaultStreamMetadata:(Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
astore 3
start local 3 3: aload 0
ldc "javax_imageio_gif_stream_1.0"
aload 1
aload 3
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertMetadata:(Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 5 1 inData Ljavax/imageio/metadata/IIOMetadata;
0 5 2 param Ljavax/imageio/ImageWriteParam;
3 5 3 sm Ljavax/imageio/metadata/IIOMetadata;
MethodParameters:
Name Flags
inData
param
public javax.imageio.metadata.IIOMetadata convertImageMetadata(javax.imageio.metadata.IIOMetadata, javax.imageio.ImageTypeSpecifier, javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/ImageTypeSpecifier;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "inData == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "imageType == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 2
5: aload 3
6: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getDefaultImageMetadata:(Ljavax/imageio/ImageTypeSpecifier;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.gif.GIFWritableImageMetadata
7: astore 4
start local 4 8: aload 4
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
istore 5
start local 5 9: aload 0
ldc "javax_imageio_gif_image_1.0"
aload 1
aload 4
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertMetadata:(Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
10: aload 3
ifnull 13
aload 3
invokevirtual javax.imageio.ImageWriteParam.canWriteProgressive:()Z
ifeq 13
11: aload 3
invokevirtual javax.imageio.ImageWriteParam.getProgressiveMode:()I
iconst_3
if_icmpeq 13
12: aload 4
iload 5
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
13: StackMap locals: com.sun.imageio.plugins.gif.GIFWritableImageMetadata int
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 14 1 inData Ljavax/imageio/metadata/IIOMetadata;
0 14 2 imageType Ljavax/imageio/ImageTypeSpecifier;
0 14 3 param Ljavax/imageio/ImageWriteParam;
8 14 4 im Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
9 14 5 isProgressive Z
MethodParameters:
Name Flags
inData
imageType
param
public void endWriteSequence();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "output == null!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifne 4
3: new java.lang.IllegalStateException
dup
ldc "prepareWriteSequence() was not invoked!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeTrailer:()V
5: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.resetLocal:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
Exceptions:
throws java.io.IOException
public javax.imageio.metadata.IIOMetadata getDefaultImageMetadata(javax.imageio.ImageTypeSpecifier, javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.imageio.plugins.gif.GIFWritableImageMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableImageMetadata.<init>:()V
1: astore 3
start local 3 2: aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:()Ljava/awt/image/SampleModel;
astore 4
start local 4 3: new java.awt.Rectangle
dup
aload 4
invokevirtual java.awt.image.SampleModel.getWidth:()I
4: aload 4
invokevirtual java.awt.image.SampleModel.getHeight:()I
5: invokespecial java.awt.Rectangle.<init>:(II)V
astore 5
start local 5 6: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 6
start local 6 7: aload 5
aload 6
aload 2
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.computeRegions:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;)V
8: aload 3
aload 6
getfield java.awt.Dimension.width:I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageWidth:I
9: aload 3
aload 6
getfield java.awt.Dimension.height:I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageHeight:I
10: aload 2
ifnull 14
aload 2
invokevirtual javax.imageio.ImageWriteParam.canWriteProgressive:()Z
ifeq 14
11: aload 2
invokevirtual javax.imageio.ImageWriteParam.getProgressiveMode:()I
ifne 14
12: aload 3
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
13: goto 15
14: StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter javax.imageio.ImageTypeSpecifier javax.imageio.ImageWriteParam com.sun.imageio.plugins.gif.GIFWritableImageMetadata java.awt.image.SampleModel java.awt.Rectangle java.awt.Dimension
StackMap stack:
aload 3
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getColorModel:()Ljava/awt/image/ColorModel;
astore 7
start local 7 16: aload 3
17: aload 7
aload 4
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.createColorTable:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
18: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
19: aload 7
instanceof java.awt.image.IndexColorModel
ifeq 25
20: aload 7
checkcast java.awt.image.IndexColorModel
invokevirtual java.awt.image.IndexColorModel.getTransparentPixel:()I
21: istore 8
start local 8 22: iload 8
iconst_m1
if_icmpeq 25
23: aload 3
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
24: aload 3
iload 8
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
end local 8 25: StackMap locals: java.awt.image.ColorModel
StackMap stack:
aload 3
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 26 1 imageType Ljavax/imageio/ImageTypeSpecifier;
0 26 2 param Ljavax/imageio/ImageWriteParam;
2 26 3 imageMetadata Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
3 26 4 sampleModel Ljava/awt/image/SampleModel;
6 26 5 sourceBounds Ljava/awt/Rectangle;
7 26 6 destSize Ljava/awt/Dimension;
16 26 7 colorModel Ljava/awt/image/ColorModel;
22 25 8 transparentIndex I
MethodParameters:
Name Flags
imageType
param
public javax.imageio.metadata.IIOMetadata getDefaultStreamMetadata(javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.<init>:()V
1: astore 2
start local 2 2: aload 2
ldc "89a"
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 4 1 param Ljavax/imageio/ImageWriteParam;
2 4 2 streamMetadata Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
MethodParameters:
Name Flags
param
public javax.imageio.ImageWriteParam getDefaultWriteParam();
descriptor: ()Ljavax/imageio/ImageWriteParam;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.imageio.plugins.gif.GIFImageWriteParam
dup
aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getLocale:()Ljava/util/Locale;
invokespecial com.sun.imageio.plugins.gif.GIFImageWriteParam.<init>:(Ljava/util/Locale;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
public void prepareWriteSequence(javax.imageio.metadata.IIOMetadata);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Output is not set."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.resetLocal:()V
3: aload 1
ifnonnull 8
4: aload 0
5: aload 0
aconst_null
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getDefaultStreamMetadata:(Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
6: putfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
7: goto 12
8: StackMap locals:
StackMap stack:
aload 0
new com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.<init>:()V
putfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
9: aload 0
ldc "javax_imageio_gif_stream_1.0"
aload 1
10: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
11: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertMetadata:(Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
12: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 14 1 streamMetadata Ljavax/imageio/metadata/IIOMetadata;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
streamMetadata
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.ImageWriter.reset:()V
1: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.resetLocal:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
private void resetLocal();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
1: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.wroteSequenceHeader:Z
2: aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
3: aload 0
iconst_0
putfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
public void setOutput(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.imageio.ImageWriter.setOutput:(Ljava/lang/Object;)V
1: aload 1
ifnull 8
2: aload 1
instanceof javax.imageio.stream.ImageOutputStream
ifne 5
3: new java.lang.IllegalArgumentException
dup
ldc "output is not an ImageOutputStream"
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.imageio.stream.ImageOutputStream
putfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
6: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokeinterface javax.imageio.stream.ImageOutputStream.setByteOrder:(Ljava/nio/ByteOrder;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 10 1 output Ljava/lang/Object;
MethodParameters:
Name Flags
output
public void write(javax.imageio.metadata.IIOMetadata, javax.imageio.IIOImage, javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "output == null!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "iioimage == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.imageio.IIOImage.hasRaster:()Z
ifeq 6
5: new java.lang.UnsupportedOperationException
dup
ldc "canWriteRasters() == false!"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.resetLocal:()V
7: aload 1
ifnonnull 11
8: aload 0
aload 3
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getDefaultStreamMetadata:(Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
9: astore 4
start local 4 10: goto 13
end local 4 11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertStreamMetadata:(Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
12: astore 4
start local 4 13: StackMap locals: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
StackMap stack:
aload 0
iconst_1
iconst_1
aload 4
aload 2
aload 3
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.write:(ZZLjavax/imageio/metadata/IIOMetadata;Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 15 1 sm Ljavax/imageio/metadata/IIOMetadata;
0 15 2 iioimage Ljavax/imageio/IIOImage;
0 15 3 p Ljavax/imageio/ImageWriteParam;
10 11 4 streamMetadata Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
13 15 4 streamMetadata Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sm
iioimage
p
public void writeToSequence(javax.imageio.IIOImage, javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "output == null!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "image == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.IIOImage.hasRaster:()Z
ifeq 6
5: new java.lang.UnsupportedOperationException
dup
ldc "canWriteRasters() == false!"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifne 8
7: new java.lang.IllegalStateException
dup
ldc "prepareWriteSequence() was not invoked!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.wroteSequenceHeader:Z
ifeq 9
iconst_0
goto 10
StackMap locals:
StackMap stack: com.sun.imageio.plugins.gif.GIFImageWriter
9: iconst_1
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter javax.imageio.IIOImage javax.imageio.ImageWriteParam
StackMap stack: com.sun.imageio.plugins.gif.GIFImageWriter int
10: iconst_0
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
11: aload 1
aload 2
12: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.write:(ZZLjavax/imageio/metadata/IIOMetadata;Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V
13: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.wroteSequenceHeader:Z
ifne 15
14: aload 0
iconst_1
putfield com.sun.imageio.plugins.gif.GIFImageWriter.wroteSequenceHeader:Z
15: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
iconst_1
iadd
putfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 17 1 image Ljavax/imageio/IIOImage;
0 17 2 param Ljavax/imageio/ImageWriteParam;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
param
private boolean needToCreateIndex(java.awt.image.RenderedImage);
descriptor: (Ljava/awt/image/RenderedImage;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 2
start local 2 1: aload 1
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
astore 3
start local 3 2: aload 2
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 6
3: aload 2
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
iconst_0
iaload
bipush 8
if_icmpgt 6
4: aload 3
invokevirtual java.awt.image.ColorModel.getComponentSize:()[I
iconst_0
iaload
bipush 8
5: if_icmpgt 6
iconst_0
ireturn
StackMap locals: java.awt.image.SampleModel java.awt.image.ColorModel
StackMap stack:
6: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 7 1 image Ljava/awt/image/RenderedImage;
1 7 2 sampleModel Ljava/awt/image/SampleModel;
2 7 3 colorModel Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
image
private void write(boolean, boolean, javax.imageio.metadata.IIOMetadata, javax.imageio.IIOImage, javax.imageio.ImageWriteParam);
descriptor: (ZZLjavax/imageio/metadata/IIOMetadata;Ljavax/imageio/IIOImage;Ljavax/imageio/ImageWriteParam;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=15, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
invokevirtual javax.imageio.IIOImage.getRenderedImage:()Ljava/awt/image/RenderedImage;
astore 6
start local 6 1: aload 0
aload 6
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.needToCreateIndex:(Ljava/awt/image/RenderedImage;)Z
ifeq 4
2: aload 6
invokestatic com.sun.imageio.plugins.common.PaletteBuilder.createIndexedImage:(Ljava/awt/image/RenderedImage;)Ljava/awt/image/RenderedImage;
astore 6
3: aload 4
aload 6
invokevirtual javax.imageio.IIOImage.setRenderedImage:(Ljava/awt/image/RenderedImage;)V
4: StackMap locals: java.awt.image.RenderedImage
StackMap stack:
aload 6
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
astore 7
start local 7 5: aload 6
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 8
start local 8 6: new java.awt.Rectangle
dup
aload 6
invokeinterface java.awt.image.RenderedImage.getMinX:()I
7: aload 6
invokeinterface java.awt.image.RenderedImage.getMinY:()I
8: aload 6
invokeinterface java.awt.image.RenderedImage.getWidth:()I
9: aload 6
invokeinterface java.awt.image.RenderedImage.getHeight:()I
10: invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 9
start local 9 11: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 10
start local 10 12: aload 9
aload 10
aload 5
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.computeRegions:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;)V
13: aconst_null
astore 11
start local 11 14: aload 4
invokevirtual javax.imageio.IIOImage.getMetadata:()Ljavax/imageio/metadata/IIOMetadata;
ifnull 32
15: new com.sun.imageio.plugins.gif.GIFWritableImageMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableImageMetadata.<init>:()V
astore 11
16: aload 0
ldc "javax_imageio_gif_image_1.0"
aload 4
invokevirtual javax.imageio.IIOImage.getMetadata:()Ljavax/imageio/metadata/IIOMetadata;
17: aload 11
18: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertMetadata:(Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
19: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnonnull 32
20: aload 11
21: aload 7
aload 8
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.createColorTable:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
22: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
23: aload 7
instanceof java.awt.image.IndexColorModel
ifeq 32
24: aload 7
checkcast java.awt.image.IndexColorModel
25: astore 12
start local 12 26: aload 12
invokevirtual java.awt.image.IndexColorModel.getTransparentPixel:()I
istore 13
start local 13 27: aload 11
iload 13
iconst_m1
if_icmpeq 28
iconst_1
goto 29
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter int int javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.ColorModel java.awt.image.SampleModel java.awt.Rectangle java.awt.Dimension com.sun.imageio.plugins.gif.GIFWritableImageMetadata java.awt.image.IndexColorModel int
StackMap stack: com.sun.imageio.plugins.gif.GIFWritableImageMetadata
28: iconst_0
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter int int javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.ColorModel java.awt.image.SampleModel java.awt.Rectangle java.awt.Dimension com.sun.imageio.plugins.gif.GIFWritableImageMetadata java.awt.image.IndexColorModel int
StackMap stack: com.sun.imageio.plugins.gif.GIFWritableImageMetadata int
29: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
30: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
ifeq 32
31: aload 11
iload 13
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
end local 13 end local 12 32: StackMap locals:
StackMap stack:
aconst_null
astore 12
start local 12 33: iload 1
ifeq 79
34: aload 3
ifnonnull 36
35: new java.lang.IllegalArgumentException
dup
ldc "Cannot write null header!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals: byte[]
StackMap stack:
aload 3
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
37: astore 13
start local 13 38: aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
ifnonnull 40
39: aload 13
ldc "89a"
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
40: StackMap locals: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenWidth:I
41: iconst_m1
42: if_icmpne 44
43: aload 13
aload 10
getfield java.awt.Dimension.width:I
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenWidth:I
44: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenHeight:I
45: iconst_m1
46: if_icmpne 48
47: aload 13
aload 10
getfield java.awt.Dimension.height:I
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenHeight:I
48: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.colorResolution:I
49: iconst_m1
50: if_icmpne 55
51: aload 13
aload 7
ifnull 53
52: aload 7
invokevirtual java.awt.image.ColorModel.getComponentSize:()[I
iconst_0
iaload
goto 54
53: StackMap locals:
StackMap stack: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
aload 8
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
iconst_0
iaload
54: StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter int int javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.ColorModel java.awt.image.SampleModel java.awt.Rectangle java.awt.Dimension com.sun.imageio.plugins.gif.GIFWritableImageMetadata byte[] com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
StackMap stack: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata int
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.colorResolution:I
55: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
ifnonnull 67
56: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifeq 62
aload 11
ifnull 62
57: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnull 62
58: aload 13
59: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
60: putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
61: goto 67
StackMap locals:
StackMap stack:
62: aload 11
ifnull 64
63: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnonnull 67
64: StackMap locals:
StackMap stack:
aload 13
65: aload 7
aload 8
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.createColorTable:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
66: putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
67: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
astore 12
68: aload 12
ifnull 71
69: aload 12
arraylength
iconst_3
idiv
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.getNumBits:(I)I
istore 14
start local 14 70: goto 77
end local 14 StackMap locals:
StackMap stack:
71: aload 11
ifnull 76
72: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnull 76
73: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
arraylength
iconst_3
idiv
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.getNumBits:(I)I
74: istore 14
start local 14 75: goto 77
end local 14 76: StackMap locals:
StackMap stack:
aload 8
iconst_0
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
istore 14
start local 14 77: StackMap locals: int
StackMap stack:
aload 0
aload 13
iload 14
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeHeader:(Ljavax/imageio/metadata/IIOMetadata;I)V
end local 14 end local 13 78: goto 83
StackMap locals:
StackMap stack:
79: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifeq 82
80: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.theStreamMetadata:Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
astore 12
81: goto 83
82: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Must write header for single image!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
83: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual javax.imageio.IIOImage.getRenderedImage:()Ljava/awt/image/RenderedImage;
aload 11
aload 5
84: aload 12
aload 9
aload 10
85: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeImage:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;Ljavax/imageio/ImageWriteParam;[BLjava/awt/Rectangle;Ljava/awt/Dimension;)V
86: iload 2
ifeq 88
87: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeTrailer:()V
88: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 89 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 89 1 writeHeader Z
0 89 2 writeTrailer Z
0 89 3 sm Ljavax/imageio/metadata/IIOMetadata;
0 89 4 iioimage Ljavax/imageio/IIOImage;
0 89 5 p Ljavax/imageio/ImageWriteParam;
1 89 6 image Ljava/awt/image/RenderedImage;
5 89 7 colorModel Ljava/awt/image/ColorModel;
6 89 8 sampleModel Ljava/awt/image/SampleModel;
11 89 9 sourceBounds Ljava/awt/Rectangle;
12 89 10 destSize Ljava/awt/Dimension;
14 89 11 imageMetadata Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
26 32 12 icm Ljava/awt/image/IndexColorModel;
27 32 13 index I
33 89 12 globalColorTable [B
38 78 13 streamMetadata Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
70 71 14 bitsPerPixel I
75 76 14 bitsPerPixel I
77 78 14 bitsPerPixel I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writeHeader
writeTrailer
sm
iioimage
p
private void writeImage(java.awt.image.RenderedImage, com.sun.imageio.plugins.gif.GIFWritableImageMetadata, javax.imageio.ImageWriteParam, byte[], java.awt.Rectangle, java.awt.Dimension);
descriptor: (Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;Ljavax/imageio/ImageWriteParam;[BLjava/awt/Rectangle;Ljava/awt/Dimension;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=11, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
pop
1: aload 1
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 7
start local 7 2: aload 2
ifnonnull 8
3: aload 0
4: new javax.imageio.ImageTypeSpecifier
dup
aload 1
invokespecial javax.imageio.ImageTypeSpecifier.<init>:(Ljava/awt/image/RenderedImage;)V
aload 3
5: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.getDefaultImageMetadata:(Ljavax/imageio/ImageTypeSpecifier;Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
checkcast com.sun.imageio.plugins.gif.GIFWritableImageMetadata
astore 2
6: aload 2
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
istore 8
start local 8 7: goto 25
end local 8 8: StackMap locals: java.awt.image.SampleModel
StackMap stack:
aconst_null
astore 9
start local 9 9: aload 2
ldc "javax_imageio_gif_image_1.0"
invokevirtual com.sun.imageio.plugins.gif.GIFWritableImageMetadata.getAsTree:(Ljava/lang/String;)Lorg/w3c/dom/Node;
10: checkcast javax.imageio.metadata.IIOMetadataNode
astore 10
start local 10 11: aload 10
ldc "GraphicControlExtension"
invokevirtual javax.imageio.metadata.IIOMetadataNode.getElementsByTagName:(Ljava/lang/String;)Lorg/w3c/dom/NodeList;
astore 9
end local 10 12: goto 14
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.awt.image.RenderedImage com.sun.imageio.plugins.gif.GIFWritableImageMetadata javax.imageio.ImageWriteParam byte[] java.awt.Rectangle java.awt.Dimension java.awt.image.SampleModel top org.w3c.dom.NodeList
StackMap stack: java.lang.IllegalArgumentException
13: pop
14: StackMap locals:
StackMap stack:
aload 9
ifnull 16
aload 9
invokeinterface org.w3c.dom.NodeList.getLength:()I
15: ifle 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 8
start local 8 18: aload 3
ifnull 25
aload 3
invokevirtual javax.imageio.ImageWriteParam.canWriteProgressive:()Z
ifeq 25
19: aload 3
invokevirtual javax.imageio.ImageWriteParam.getProgressiveMode:()I
ifne 22
20: aload 2
iconst_0
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
21: goto 25
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.awt.image.RenderedImage com.sun.imageio.plugins.gif.GIFWritableImageMetadata javax.imageio.ImageWriteParam byte[] java.awt.Rectangle java.awt.Dimension java.awt.image.SampleModel int org.w3c.dom.NodeList
StackMap stack:
22: aload 3
invokevirtual javax.imageio.ImageWriteParam.getProgressiveMode:()I
23: iconst_1
if_icmpne 25
24: aload 2
iconst_1
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
end local 9 25: StackMap locals:
StackMap stack:
aload 4
aload 2
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 27
26: aload 2
aconst_null
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
27: StackMap locals:
StackMap stack:
aload 2
aload 6
getfield java.awt.Dimension.width:I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageWidth:I
28: aload 2
aload 6
getfield java.awt.Dimension.height:I
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageHeight:I
29: iload 8
ifeq 31
30: aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeGraphicControlExtension:(Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
31: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writePlainTextExtension:(Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
32: aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeApplicationExtension:(Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
33: aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeCommentExtension:(Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
34: aload 2
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnonnull 38
35: aload 4
ifnonnull 37
36: aload 7
iconst_0
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
goto 39
37: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_3
idiv
goto 39
38: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
arraylength
iconst_3
idiv
39: StackMap locals:
StackMap stack: int
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.getNumBits:(I)I
40: istore 9
start local 9 41: aload 0
aload 2
iload 9
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeImageDescriptor:(Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;I)V
42: aload 0
aload 1
aload 5
aload 6
43: aload 3
aload 2
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
44: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRasterData:(Ljava/awt/image/RenderedImage;Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;Z)V
45: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 46 1 image Ljava/awt/image/RenderedImage;
0 46 2 imageMetadata Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 46 3 param Ljavax/imageio/ImageWriteParam;
0 46 4 globalColorTable [B
0 46 5 sourceBounds Ljava/awt/Rectangle;
0 46 6 destSize Ljava/awt/Dimension;
2 46 7 sampleModel Ljava/awt/image/SampleModel;
7 8 8 writeGraphicsControlExtension Z
18 46 8 writeGraphicsControlExtension Z
9 25 9 list Lorg/w3c/dom/NodeList;
11 12 10 root Ljavax/imageio/metadata/IIOMetadataNode;
41 46 9 bitsPerPixel I
Exception table:
from to target type
9 12 13 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
imageMetadata
param
globalColorTable
sourceBounds
destSize
private void writeRows(java.awt.image.RenderedImage, com.sun.imageio.plugins.common.LZWCompressor, int, int, int, int, int, int, int, int, int, int, int);
descriptor: (Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=20, args_size=14
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 start local 13 0: iload 7
newarray 10
astore 14
start local 14 1: iload 10
newarray 8
astore 15
start local 15 2: aload 1
invokeinterface java.awt.image.RenderedImage.getNumXTiles:()I
iconst_1
if_icmpne 4
aload 1
invokeinterface java.awt.image.RenderedImage.getNumYTiles:()I
iconst_1
if_icmpne 4
3: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
goto 5
StackMap locals: int[] byte[]
StackMap stack:
4: aload 1
invokeinterface java.awt.image.RenderedImage.getData:()Ljava/awt/image/Raster;
5: StackMap locals:
StackMap stack: java.awt.image.Raster
astore 16
start local 16 6: iload 8
istore 17
start local 17 7: goto 24
8: StackMap locals: java.awt.image.Raster int
StackMap stack:
iload 12
iload 13
irem
ifne 13
9: aload 0
iload 12
i2f
ldc 100.0
fmul
iload 11
i2f
fdiv
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageProgress:(F)V
10: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 13
11: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processWriteAborted:()V
12: return
13: StackMap locals:
StackMap stack:
aload 16
iload 3
iload 5
iload 7
iconst_1
iconst_0
aload 14
invokevirtual java.awt.image.Raster.getSamples:(IIIII[I)[I
pop
14: iconst_0
istore 18
start local 18 15: iconst_0
istore 19
start local 19 16: goto 19
17: StackMap locals: int int
StackMap stack:
aload 15
iload 18
aload 14
iload 19
iaload
i2b
bastore
18: iinc 18 1
iload 19
iload 4
iadd
istore 19
StackMap locals:
StackMap stack:
19: iload 18
iload 10
if_icmplt 17
end local 19 end local 18 20: aload 2
aload 15
iconst_0
iload 10
invokevirtual com.sun.imageio.plugins.common.LZWCompressor.compress:([BII)V
21: iinc 12 1
22: iload 5
iload 6
iadd
istore 5
23: iload 17
iload 9
iadd
istore 17
StackMap locals:
StackMap stack:
24: iload 17
iload 11
if_icmplt 8
end local 17 25: return
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 26 1 image Ljava/awt/image/RenderedImage;
0 26 2 compressor Lcom/sun/imageio/plugins/common/LZWCompressor;
0 26 3 sx I
0 26 4 sdx I
0 26 5 sy I
0 26 6 sdy I
0 26 7 sw I
0 26 8 dy I
0 26 9 ddy I
0 26 10 dw I
0 26 11 dh I
0 26 12 numRowsWritten I
0 26 13 progressReportRowPeriod I
1 26 14 sbuf [I
2 26 15 dbuf [B
6 26 16 raster Ljava/awt/image/Raster;
7 25 17 y I
15 20 18 i I
16 20 19 j I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
compressor
sx
sdx
sy
sdy
sw
dy
ddy
dw
dh
numRowsWritten
progressReportRowPeriod
private void writeRowsOpt(byte[], int, int, com.sun.imageio.plugins.common.LZWCompressor, int, int, int, int, int, int);
descriptor: ([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: iload 2
iload 5
iload 3
imul
iadd
istore 2
1: iload 3
iload 6
imul
istore 3
2: iload 5
istore 11
start local 11 3: goto 13
4: StackMap locals: int
StackMap stack:
iload 9
iload 10
irem
ifne 9
5: aload 0
iload 9
i2f
ldc 100.0
fmul
iload 8
i2f
fdiv
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageProgress:(F)V
6: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 9
7: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processWriteAborted:()V
8: return
9: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 2
iload 7
invokevirtual com.sun.imageio.plugins.common.LZWCompressor.compress:([BII)V
10: iinc 9 1
11: iload 2
iload 3
iadd
istore 2
12: iload 11
iload 6
iadd
istore 11
StackMap locals:
StackMap stack:
13: iload 11
iload 8
if_icmplt 4
end local 11 14: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 15 1 data [B
0 15 2 offset I
0 15 3 lineStride I
0 15 4 compressor Lcom/sun/imageio/plugins/common/LZWCompressor;
0 15 5 dy I
0 15 6 ddy I
0 15 7 dw I
0 15 8 dh I
0 15 9 numRowsWritten I
0 15 10 progressReportRowPeriod I
3 14 11 y I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
offset
lineStride
compressor
dy
ddy
dw
dh
numRowsWritten
progressReportRowPeriod
private void writeRasterData(java.awt.image.RenderedImage, java.awt.Rectangle, java.awt.Dimension, javax.imageio.ImageWriteParam, boolean);
descriptor: (Ljava/awt/image/RenderedImage;Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=14, locals=25, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
getfield java.awt.Rectangle.x:I
istore 6
start local 6 1: aload 2
getfield java.awt.Rectangle.y:I
istore 7
start local 7 2: aload 2
getfield java.awt.Rectangle.width:I
istore 8
start local 8 3: aload 2
getfield java.awt.Rectangle.height:I
pop
4: aload 3
getfield java.awt.Dimension.width:I
istore 9
start local 9 5: aload 3
getfield java.awt.Dimension.height:I
istore 10
start local 10 6: aload 4
ifnonnull 10
7: iconst_1
istore 11
start local 11 8: iconst_1
istore 12
start local 12 9: goto 12
end local 12 end local 11 10: StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.awt.image.RenderedImage java.awt.Rectangle java.awt.Dimension javax.imageio.ImageWriteParam int int int int int int
StackMap stack:
aload 4
invokevirtual javax.imageio.ImageWriteParam.getSourceXSubsampling:()I
istore 11
start local 11 11: aload 4
invokevirtual javax.imageio.ImageWriteParam.getSourceYSubsampling:()I
istore 12
start local 12 12: StackMap locals: int int
StackMap stack:
aload 1
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 13
start local 13 13: aload 13
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
iconst_0
iaload
istore 14
start local 14 14: iload 14
istore 15
start local 15 15: iload 15
iconst_1
if_icmpne 17
16: iinc 15 1
17: StackMap locals: java.awt.image.SampleModel int int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 15
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
18: new com.sun.imageio.plugins.common.LZWCompressor
dup
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 15
iconst_0
invokespecial com.sun.imageio.plugins.common.LZWCompressor.<init>:(Ljavax/imageio/stream/ImageOutputStream;IZ)V
19: astore 16
start local 16 20: iload 11
iconst_1
if_icmpne 26
iload 12
iconst_1
if_icmpne 26
21: aload 1
invokeinterface java.awt.image.RenderedImage.getNumXTiles:()I
iconst_1
if_icmpne 26
aload 1
invokeinterface java.awt.image.RenderedImage.getNumYTiles:()I
iconst_1
if_icmpne 26
22: aload 13
instanceof java.awt.image.ComponentSampleModel
ifeq 26
23: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
instanceof sun.awt.image.ByteComponentRaster
ifeq 26
24: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
instanceof java.awt.image.DataBufferByte
ifeq 26
25: iconst_1
goto 27
StackMap locals: com.sun.imageio.plugins.common.LZWCompressor
StackMap stack:
26: iconst_0
StackMap locals:
StackMap stack: int
27: istore 17
start local 17 28: iconst_0
istore 18
start local 18 29: iload 10
bipush 20
idiv
iconst_1
invokestatic java.lang.Math.max:(II)I
istore 19
start local 19 30: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.clearAbortRequest:()V
31: aload 0
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageStarted:(I)V
32: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 35
33: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processWriteAborted:()V
34: return
35: StackMap locals: int int int
StackMap stack:
iload 5
ifeq 108
36: iload 17
ifeq 72
37: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
checkcast sun.awt.image.ByteComponentRaster
38: astore 20
start local 20 39: aload 20
invokevirtual sun.awt.image.ByteComponentRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 21
start local 21 40: aload 20
invokevirtual sun.awt.image.ByteComponentRaster.getSampleModel:()Ljava/awt/image/SampleModel;
checkcast java.awt.image.ComponentSampleModel
41: astore 22
start local 22 42: aload 22
iload 6
iload 7
iconst_0
invokevirtual java.awt.image.ComponentSampleModel.getOffset:(III)I
istore 23
start local 23 43: iload 23
aload 20
iconst_0
invokevirtual sun.awt.image.ByteComponentRaster.getDataOffset:(I)I
iadd
istore 23
44: aload 22
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 24
start local 24 45: aload 0
aload 21
iload 23
iload 24
aload 16
46: iconst_0
bipush 8
iload 9
iload 10
47: iload 18
iload 19
48: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
49: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 51
50: return
51: StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.awt.image.RenderedImage java.awt.Rectangle java.awt.Dimension javax.imageio.ImageWriteParam int int int int int int int int java.awt.image.SampleModel int int com.sun.imageio.plugins.common.LZWCompressor int int int sun.awt.image.ByteComponentRaster byte[] java.awt.image.ComponentSampleModel int int
StackMap stack:
iload 18
iload 10
bipush 8
idiv
iadd
istore 18
52: aload 0
aload 21
iload 23
iload 24
aload 16
53: iconst_4
bipush 8
iload 9
iload 10
54: iload 18
iload 19
55: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
56: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 58
57: return
58: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_4
isub
bipush 8
idiv
iadd
istore 18
59: aload 0
aload 21
iload 23
iload 24
aload 16
60: iconst_2
iconst_4
iload 9
iload 10
61: iload 18
iload 19
62: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
63: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 65
64: return
65: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_2
isub
iconst_4
idiv
iadd
istore 18
66: aload 0
aload 21
iload 23
iload 24
aload 16
67: iconst_1
iconst_2
iload 9
iload 10
68: iload 18
iload 19
69: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
70: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 130
71: return
end local 24 end local 23 end local 22 end local 21 end local 20 72: StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.awt.image.RenderedImage java.awt.Rectangle java.awt.Dimension javax.imageio.ImageWriteParam int int int int int int int int java.awt.image.SampleModel int int com.sun.imageio.plugins.common.LZWCompressor int int int
StackMap stack:
aload 0
aload 1
aload 16
73: iload 6
iload 11
74: iload 7
bipush 8
iload 12
imul
75: iload 8
76: iconst_0
bipush 8
iload 9
iload 10
77: iload 18
iload 19
78: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
79: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 81
80: return
81: StackMap locals:
StackMap stack:
iload 18
iload 10
bipush 8
idiv
iadd
istore 18
82: aload 0
aload 1
aload 16
iload 6
iload 11
83: iload 7
iconst_4
iload 12
imul
iadd
bipush 8
iload 12
imul
84: iload 8
85: iconst_4
bipush 8
iload 9
iload 10
86: iload 18
iload 19
87: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
88: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 90
89: return
90: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_4
isub
bipush 8
idiv
iadd
istore 18
91: aload 0
aload 1
aload 16
iload 6
iload 11
92: iload 7
iconst_2
iload 12
imul
iadd
iconst_4
iload 12
imul
93: iload 8
94: iconst_2
iconst_4
iload 9
iload 10
95: iload 18
iload 19
96: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
97: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 99
98: return
99: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_2
isub
iconst_4
idiv
iadd
istore 18
100: aload 0
aload 1
aload 16
iload 6
iload 11
101: iload 7
iload 12
iadd
iconst_2
iload 12
imul
102: iload 8
103: iconst_1
iconst_2
iload 9
iload 10
104: iload 18
iload 19
105: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
106: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 130
107: return
108: StackMap locals:
StackMap stack:
iload 17
ifeq 121
109: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
astore 20
start local 20 110: aload 20
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 21
start local 21 111: aload 20
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
checkcast java.awt.image.ComponentSampleModel
112: astore 22
start local 22 113: aload 22
iload 6
iload 7
iconst_0
invokevirtual java.awt.image.ComponentSampleModel.getOffset:(III)I
istore 23
start local 23 114: aload 22
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 24
start local 24 115: aload 0
aload 21
iload 23
iload 24
aload 16
116: iconst_0
iconst_1
iload 9
iload 10
117: iload 18
iload 19
118: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
119: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 130
120: return
end local 24 end local 23 end local 22 end local 21 end local 20 121: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 16
122: iload 6
iload 11
123: iload 7
iload 12
124: iload 8
125: iconst_0
iconst_1
iload 9
iload 10
126: iload 18
iload 19
127: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
128: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 130
129: return
130: StackMap locals:
StackMap stack:
aload 16
invokevirtual com.sun.imageio.plugins.common.LZWCompressor.flush:()V
131: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
132: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageComplete:()V
133: return
end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 134 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 134 1 image Ljava/awt/image/RenderedImage;
0 134 2 sourceBounds Ljava/awt/Rectangle;
0 134 3 destSize Ljava/awt/Dimension;
0 134 4 param Ljavax/imageio/ImageWriteParam;
0 134 5 interlaceFlag Z
1 134 6 sourceXOffset I
2 134 7 sourceYOffset I
3 134 8 sourceWidth I
5 134 9 destWidth I
6 134 10 destHeight I
8 10 11 periodX I
11 134 11 periodX I
9 10 12 periodY I
12 134 12 periodY I
13 134 13 sampleModel Ljava/awt/image/SampleModel;
14 134 14 bitsPerPixel I
15 134 15 initCodeSize I
20 134 16 compressor Lcom/sun/imageio/plugins/common/LZWCompressor;
28 134 17 isOptimizedCase Z
29 134 18 numRowsWritten I
30 134 19 progressReportRowPeriod I
39 72 20 tile Lsun/awt/image/ByteComponentRaster;
40 72 21 data [B
42 72 22 csm Ljava/awt/image/ComponentSampleModel;
43 72 23 offset I
45 72 24 lineStride I
110 121 20 tile Ljava/awt/image/Raster;
111 121 21 data [B
113 121 22 csm Ljava/awt/image/ComponentSampleModel;
114 121 23 offset I
115 121 24 lineStride I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
image
sourceBounds
destSize
param
interlaceFlag
private void (java.lang.String, int, int, int, int, int, boolean, int, byte[]);
descriptor: (Ljava/lang/String;IIIIIZI[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
new java.lang.StringBuilder
dup
ldc "GIF"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface javax.imageio.stream.ImageOutputStream.writeBytes:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 2
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
2: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 3
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
3: aload 9
ifnull 4
sipush 128
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 10
start local 10 6: iload 10
iload 4
iconst_1
isub
bipush 7
iand
iconst_4
ishl
ior
istore 10
7: iload 7
ifeq 9
8: iload 10
bipush 8
ior
istore 10
9: StackMap locals: int
StackMap stack:
iload 10
iload 8
iconst_1
isub
ior
istore 10
10: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 10
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
11: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 6
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
12: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 5
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
13: aload 9
ifnull 18
14: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 9
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
end local 10 15: goto 18
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter java.lang.String int int int int int int int byte[]
StackMap stack: java.io.IOException
16: astore 10
start local 10 17: new javax.imageio.IIOException
dup
ldc "I/O error writing header!"
aload 10
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 10 18: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 19 1 version Ljava/lang/String;
0 19 2 logicalScreenWidth I
0 19 3 logicalScreenHeight I
0 19 4 colorResolution I
0 19 5 pixelAspectRatio I
0 19 6 backgroundColorIndex I
0 19 7 sortFlag Z
0 19 8 bitsPerPixel I
0 19 9 globalColorTable [B
6 15 10 packedFields I
17 18 10 e Ljava/io/IOException;
Exception table:
from to target type
0 15 16 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
version
logicalScreenWidth
logicalScreenHeight
colorResolution
pixelAspectRatio
backgroundColorIndex
sortFlag
bitsPerPixel
globalColorTable
private void (javax.imageio.metadata.IIOMetadata, int);
descriptor: (Ljavax/imageio/metadata/IIOMetadata;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
ifeq 3
1: aload 1
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
astore 3
start local 3 2: goto 7
end local 3 3: StackMap locals:
StackMap stack:
new com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.<init>:()V
astore 3
start local 3 4: aload 1
ldc "javax_imageio_gif_stream_1.0"
invokevirtual javax.imageio.metadata.IIOMetadata.getAsTree:(Ljava/lang/String;)Lorg/w3c/dom/Node;
5: astore 4
start local 4 6: aload 3
ldc "javax_imageio_gif_stream_1.0"
aload 4
invokevirtual com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.setFromTree:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
end local 4 7: StackMap locals: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
StackMap stack:
aload 0
aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
8: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenWidth:I
9: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenHeight:I
10: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.colorResolution:I
11: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.pixelAspectRatio:I
12: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.backgroundColorIndex:I
13: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.sortFlag:Z
14: iload 2
15: aload 3
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
16: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeHeader:(Ljava/lang/String;IIIIIZI[B)V
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 18 1 streamMetadata Ljavax/imageio/metadata/IIOMetadata;
0 18 2 bitsPerPixel I
2 3 3 sm Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
4 18 3 sm Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
6 7 4 root Lorg/w3c/dom/Node;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
streamMetadata
bitsPerPixel
private void writeGraphicControlExtension(int, boolean, boolean, int, int);
descriptor: (IZZII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 33
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
1: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
sipush 249
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
2: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_4
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
3: iload 1
iconst_3
iand
iconst_2
ishl
istore 6
start local 6 4: iload 2
ifeq 6
5: iload 6
iconst_2
ior
istore 6
6: StackMap locals: int
StackMap stack:
iload 3
ifeq 8
7: iload 6
iconst_1
ior
istore 6
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 6
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
9: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 4
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
10: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 5
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
11: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
end local 6 12: goto 15
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter int int int int int
StackMap stack: java.io.IOException
13: astore 6
start local 6 14: new javax.imageio.IIOException
dup
ldc "I/O error writing Graphic Control Extension!"
aload 6
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 15: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 16 1 disposalMethod I
0 16 2 userInputFlag Z
0 16 3 transparentColorFlag Z
0 16 4 delayTime I
0 16 5 transparentColorIndex I
4 12 6 packedFields I
14 15 6 e Ljava/io/IOException;
Exception table:
from to target type
0 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
disposalMethod
userInputFlag
transparentColorFlag
delayTime
transparentColorIndex
private void writeGraphicControlExtension(com.sun.imageio.plugins.gif.GIFWritableImageMetadata);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.disposalMethod:I
1: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.userInputFlag:Z
2: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
3: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.delayTime:I
4: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
5: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeGraphicControlExtension:(IZZII)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 7 1 im Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
private void writeBlocks(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 8
aload 1
arraylength
ifle 8
1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int
StackMap stack:
aload 1
arraylength
iload 2
isub
sipush 255
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 4: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
5: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
iload 2
iload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
6: iload 2
iload 3
iadd
istore 2
end local 3 7: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmplt 3
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 9 1 data [B
2 8 2 offset I
4 7 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
data
private void writePlainTextExtension(com.sun.imageio.plugins.gif.GIFWritableImageMetadata);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.hasPlainTextExtension:Z
ifeq 17
1: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 33
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
2: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_1
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
3: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 12
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
4: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridLeft:I
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
5: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridTop:I
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
6: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridWidth:I
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
7: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textGridHeight:I
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
8: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellWidth:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
9: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.characterCellHeight:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
10: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textForegroundColor:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
11: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.textBackgroundColor:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
12: aload 0
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.text:[B
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeBlocks:([B)V
13: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
14: goto 17
StackMap locals:
StackMap stack: java.io.IOException
15: astore 2
start local 2 16: new javax.imageio.IIOException
dup
ldc "I/O error writing Plain Text Extension!"
aload 2
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 18 1 im Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
16 17 2 e Ljava/io/IOException;
Exception table:
from to target type
1 14 15 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
private void writeApplicationExtension(com.sun.imageio.plugins.gif.GIFWritableImageMetadata);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
ifnull 16
1: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationIDs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.authenticationCodes:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.applicationData:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 4: goto 15
5: StackMap locals: java.util.Iterator java.util.Iterator java.util.Iterator
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 33
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
6: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
sipush 255
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
7: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 11
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
8: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
iconst_0
bipush 8
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
9: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
iconst_0
iconst_3
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
10: aload 0
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeBlocks:([B)V
11: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
12: goto 15
StackMap locals:
StackMap stack: java.io.IOException
13: astore 5
start local 5 14: new javax.imageio.IIOException
dup
ldc "I/O error writing Application Extension!"
aload 5
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 4 end local 3 end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 17 1 im Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
2 16 2 iterIDs Ljava/util/Iterator<[B>;
3 16 3 iterCodes Ljava/util/Iterator<[B>;
4 16 4 iterData Ljava/util/Iterator<[B>;
14 15 5 e Ljava/io/IOException;
Exception table:
from to target type
5 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
private void (com.sun.imageio.plugins.gif.GIFWritableImageMetadata);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
ifnull 11
1: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.comments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter com.sun.imageio.plugins.gif.GIFWritableImageMetadata top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 3: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 33
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
4: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
sipush 254
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
5: aload 0
aload 2
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeBlocks:([B)V
6: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: goto 11
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter com.sun.imageio.plugins.gif.GIFWritableImageMetadata
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: new javax.imageio.IIOException
dup
ldc "I/O error writing Comment Extension!"
aload 2
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 12 1 im Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
3 7 2 bytes [B
10 11 2 e Ljava/io/IOException;
Exception table:
from to target type
1 8 9 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
im
private void writeImageDescriptor(int, int, int, int, boolean, boolean, int, byte[]);
descriptor: (IIIIZZI[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 44
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
1: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 1
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
2: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 2
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
3: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 3
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
4: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 4
i2s
invokeinterface javax.imageio.stream.ImageOutputStream.writeShort:(I)V
5: aload 8
ifnull 6
sipush 128
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 9
start local 9 8: iload 5
ifeq 10
9: iload 9
bipush 64
ior
istore 9
10: StackMap locals: int
StackMap stack:
iload 6
ifeq 12
11: iload 9
bipush 8
ior
istore 9
12: StackMap locals:
StackMap stack:
iload 9
iload 7
iconst_1
isub
ior
istore 9
13: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 9
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
14: aload 8
ifnull 19
15: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 8
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
end local 9 16: goto 19
StackMap locals: com.sun.imageio.plugins.gif.GIFImageWriter int int int int int int int byte[]
StackMap stack: java.io.IOException
17: astore 9
start local 9 18: new javax.imageio.IIOException
dup
ldc "I/O error writing Image Descriptor!"
aload 9
invokespecial javax.imageio.IIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 19: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 20 1 imageLeftPosition I
0 20 2 imageTopPosition I
0 20 3 imageWidth I
0 20 4 imageHeight I
0 20 5 interlaceFlag Z
0 20 6 sortFlag Z
0 20 7 bitsPerPixel I
0 20 8 localColorTable [B
8 16 9 packedFields I
18 19 9 e Ljava/io/IOException;
Exception table:
from to target type
0 16 17 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
imageLeftPosition
imageTopPosition
imageWidth
imageHeight
interlaceFlag
sortFlag
bitsPerPixel
localColorTable
private void writeImageDescriptor(com.sun.imageio.plugins.gif.GIFWritableImageMetadata, int);
descriptor: (Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageLeftPosition:I
1: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageTopPosition:I
2: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageWidth:I
3: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.imageHeight:I
4: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.interlaceFlag:Z
5: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.sortFlag:Z
6: iload 2
7: aload 1
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
8: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeImageDescriptor:(IIIIZZI[B)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 10 1 imageMetadata Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
0 10 2 bitsPerPixel I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
imageMetadata
bitsPerPixel
private void writeTrailer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
bipush 59
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
Exceptions:
throws java.io.IOException
}
SourceFile: "GIFImageWriter.java"