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=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tThe method getAsTree(String) from the type IIOMetadata refers to the missing type Node\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
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 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.clearAbortRequest:()V
1: aload 4
invokevirtual javax.imageio.IIOImage.getRenderedImage:()Ljava/awt/image/RenderedImage;
astore 6
start local 6 2: aload 0
aload 6
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.needToCreateIndex:(Ljava/awt/image/RenderedImage;)Z
ifeq 5
3: aload 6
invokestatic com.sun.imageio.plugins.common.PaletteBuilder.createIndexedImage:(Ljava/awt/image/RenderedImage;)Ljava/awt/image/RenderedImage;
astore 6
4: aload 4
aload 6
invokevirtual javax.imageio.IIOImage.setRenderedImage:(Ljava/awt/image/RenderedImage;)V
5: 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 6: aload 6
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 8
start local 8 7: new java.awt.Rectangle
dup
aload 6
invokeinterface java.awt.image.RenderedImage.getMinX:()I
8: aload 6
invokeinterface java.awt.image.RenderedImage.getMinY:()I
9: aload 6
invokeinterface java.awt.image.RenderedImage.getWidth:()I
10: aload 6
invokeinterface java.awt.image.RenderedImage.getHeight:()I
11: invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 9
start local 9 12: new java.awt.Dimension
dup
invokespecial java.awt.Dimension.<init>:()V
astore 10
start local 10 13: aload 9
aload 10
aload 5
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.computeRegions:(Ljava/awt/Rectangle;Ljava/awt/Dimension;Ljavax/imageio/ImageWriteParam;)V
14: aconst_null
astore 11
start local 11 15: aload 4
invokevirtual javax.imageio.IIOImage.getMetadata:()Ljavax/imageio/metadata/IIOMetadata;
ifnull 33
16: new com.sun.imageio.plugins.gif.GIFWritableImageMetadata
dup
invokespecial com.sun.imageio.plugins.gif.GIFWritableImageMetadata.<init>:()V
astore 11
17: aload 0
ldc "javax_imageio_gif_image_1.0"
aload 4
invokevirtual javax.imageio.IIOImage.getMetadata:()Ljavax/imageio/metadata/IIOMetadata;
18: aload 11
19: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.convertMetadata:(Ljava/lang/String;Ljavax/imageio/metadata/IIOMetadata;Ljavax/imageio/metadata/IIOMetadata;)V
20: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnonnull 33
21: aload 11
22: aload 7
aload 8
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.createColorTable:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
23: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
24: aload 7
instanceof java.awt.image.IndexColorModel
ifeq 33
25: aload 7
checkcast java.awt.image.IndexColorModel
26: astore 12
start local 12 27: aload 12
invokevirtual java.awt.image.IndexColorModel.getTransparentPixel:()I
istore 13
start local 13 28: aload 11
iload 13
iconst_m1
if_icmpeq 29
iconst_1
goto 30
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
29: 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
30: putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
31: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorFlag:Z
ifeq 33
32: aload 11
iload 13
putfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.transparentColorIndex:I
end local 13 end local 12 33: StackMap locals:
StackMap stack:
aconst_null
astore 12
start local 12 34: iload 1
ifeq 80
35: aload 3
ifnonnull 37
36: new java.lang.IllegalArgumentException
dup
ldc "Cannot write null header!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals: byte[]
StackMap stack:
aload 3
checkcast com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
38: astore 13
start local 13 39: aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
ifnonnull 41
40: aload 13
ldc "89a"
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.version:Ljava/lang/String;
41: StackMap locals: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenWidth:I
42: iconst_m1
43: if_icmpne 45
44: aload 13
aload 10
getfield java.awt.Dimension.width:I
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenWidth:I
45: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenHeight:I
46: iconst_m1
47: if_icmpne 49
48: aload 13
aload 10
getfield java.awt.Dimension.height:I
putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.logicalScreenHeight:I
49: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.colorResolution:I
50: iconst_m1
51: if_icmpne 56
52: aload 13
aload 7
ifnull 54
53: aload 7
invokevirtual java.awt.image.ColorModel.getComponentSize:()[I
iconst_0
iaload
goto 55
54: StackMap locals:
StackMap stack: com.sun.imageio.plugins.gif.GIFWritableStreamMetadata
aload 8
invokevirtual java.awt.image.SampleModel.getSampleSize:()[I
iconst_0
iaload
55: 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
56: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
ifnonnull 68
57: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifeq 63
aload 11
ifnull 63
58: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnull 63
59: aload 13
60: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
61: putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
62: goto 68
StackMap locals:
StackMap stack:
63: aload 11
ifnull 65
64: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnonnull 68
65: StackMap locals:
StackMap stack:
aload 13
66: aload 7
aload 8
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.createColorTable:(Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)[B
67: putfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
68: StackMap locals:
StackMap stack:
aload 13
getfield com.sun.imageio.plugins.gif.GIFWritableStreamMetadata.globalColorTable:[B
astore 12
69: aload 12
ifnull 72
70: aload 12
arraylength
iconst_3
idiv
invokestatic com.sun.imageio.plugins.gif.GIFImageWriter.getNumBits:(I)I
istore 14
start local 14 71: goto 78
end local 14 StackMap locals:
StackMap stack:
72: aload 11
ifnull 77
73: aload 11
getfield com.sun.imageio.plugins.gif.GIFWritableImageMetadata.localColorTable:[B
ifnull 77
74: 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
75: istore 14
start local 14 76: goto 78
end local 14 77: StackMap locals:
StackMap stack:
aload 8
iconst_0
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
istore 14
start local 14 78: 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 79: goto 84
StackMap locals:
StackMap stack:
80: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.isWritingSequence:Z
ifeq 83
81: 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
82: goto 84
83: 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
84: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual javax.imageio.IIOImage.getRenderedImage:()Ljava/awt/image/RenderedImage;
aload 11
aload 5
85: aload 12
aload 9
aload 10
86: 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
87: iload 2
ifeq 89
88: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeTrailer:()V
89: 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 90 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 90 1 writeHeader Z
0 90 2 writeTrailer Z
0 90 3 sm Ljavax/imageio/metadata/IIOMetadata;
0 90 4 iioimage Ljavax/imageio/IIOImage;
0 90 5 p Ljavax/imageio/ImageWriteParam;
2 90 6 image Ljava/awt/image/RenderedImage;
6 90 7 colorModel Ljava/awt/image/ColorModel;
7 90 8 sampleModel Ljava/awt/image/SampleModel;
12 90 9 sourceBounds Ljava/awt/Rectangle;
13 90 10 destSize Ljava/awt/Dimension;
15 90 11 imageMetadata Lcom/sun/imageio/plugins/gif/GIFWritableImageMetadata;
27 33 12 icm Ljava/awt/image/IndexColorModel;
28 33 13 index I
34 90 12 globalColorTable [B
39 79 13 streamMetadata Lcom/sun/imageio/plugins/gif/GIFWritableStreamMetadata;
71 72 14 bitsPerPixel I
76 77 14 bitsPerPixel I
78 79 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=3, locals=7, args_size=7
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNodeList cannot be resolved to a type\n\tThe method getAsTree(String) from the type GIFImageMetadata refers to the missing type Node\n\tThe method getElementsByTagName(String) from the type IIOMetadataNode refers to the missing type NodeList\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
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
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 12
10: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processWriteAborted:()V
11: return
12: StackMap locals:
StackMap stack:
aload 0
iload 12
i2f
ldc 100.0
fmul
iload 11
i2f
fdiv
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageProgress:(F)V
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
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 8
6: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processWriteAborted:()V
7: return
8: StackMap locals:
StackMap stack:
aload 0
iload 9
i2f
ldc 100.0
fmul
iload 8
i2f
fdiv
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageProgress:(F)V
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
aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.imageIndex:I
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageStarted:(I)V
31: iload 5
ifeq 102
32: iload 17
ifeq 67
33: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
checkcast sun.awt.image.ByteComponentRaster
34: astore 20
start local 20 35: 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 36: aload 20
invokevirtual sun.awt.image.ByteComponentRaster.getSampleModel:()Ljava/awt/image/SampleModel;
checkcast java.awt.image.ComponentSampleModel
37: astore 22
start local 22 38: aload 22
iload 6
iload 7
iconst_0
invokevirtual java.awt.image.ComponentSampleModel.getOffset:(III)I
istore 23
start local 23 39: iload 23
aload 20
iconst_0
invokevirtual sun.awt.image.ByteComponentRaster.getDataOffset:(I)I
iadd
istore 23
40: aload 22
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 24
start local 24 41: aload 0
aload 21
iload 23
iload 24
aload 16
42: iconst_0
bipush 8
iload 9
iload 10
43: iload 18
iload 19
44: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
45: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 47
46: return
47: 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
48: aload 0
aload 21
iload 23
iload 24
aload 16
49: iconst_4
bipush 8
iload 9
iload 10
50: iload 18
iload 19
51: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
52: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 54
53: return
54: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_4
isub
bipush 8
idiv
iadd
istore 18
55: aload 0
aload 21
iload 23
iload 24
aload 16
56: iconst_2
iconst_4
iload 9
iload 10
57: iload 18
iload 19
58: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
59: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 61
60: return
61: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_2
isub
iconst_4
idiv
iadd
istore 18
62: aload 0
aload 21
iload 23
iload 24
aload 16
63: iconst_1
iconst_2
iload 9
iload 10
64: iload 18
iload 19
65: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
end local 24 end local 23 end local 22 end local 21 end local 20 66: goto 121
67: 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
68: iload 6
iload 11
69: iload 7
bipush 8
iload 12
imul
70: iload 8
71: iconst_0
bipush 8
iload 9
iload 10
72: iload 18
iload 19
73: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
74: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 76
75: return
76: StackMap locals:
StackMap stack:
iload 18
iload 10
bipush 8
idiv
iadd
istore 18
77: aload 0
aload 1
aload 16
iload 6
iload 11
78: iload 7
iconst_4
iload 12
imul
iadd
bipush 8
iload 12
imul
79: iload 8
80: iconst_4
bipush 8
iload 9
iload 10
81: iload 18
iload 19
82: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
83: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 85
84: return
85: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_4
isub
bipush 8
idiv
iadd
istore 18
86: aload 0
aload 1
aload 16
iload 6
iload 11
87: iload 7
iconst_2
iload 12
imul
iadd
iconst_4
iload 12
imul
88: iload 8
89: iconst_2
iconst_4
iload 9
iload 10
90: iload 18
iload 19
91: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
92: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 94
93: return
94: StackMap locals:
StackMap stack:
iload 18
iload 10
iconst_2
isub
iconst_4
idiv
iadd
istore 18
95: aload 0
aload 1
aload 16
iload 6
iload 11
96: iload 7
iload 12
iadd
iconst_2
iload 12
imul
97: iload 8
98: iconst_1
iconst_2
iload 9
iload 10
99: iload 18
iload 19
100: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
101: goto 121
102: StackMap locals:
StackMap stack:
iload 17
ifeq 114
103: aload 1
iconst_0
iconst_0
invokeinterface java.awt.image.RenderedImage.getTile:(II)Ljava/awt/image/Raster;
astore 20
start local 20 104: 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 105: aload 20
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
checkcast java.awt.image.ComponentSampleModel
106: astore 22
start local 22 107: aload 22
iload 6
iload 7
iconst_0
invokevirtual java.awt.image.ComponentSampleModel.getOffset:(III)I
istore 23
start local 23 108: aload 22
invokevirtual java.awt.image.ComponentSampleModel.getScanlineStride:()I
istore 24
start local 24 109: aload 0
aload 21
iload 23
iload 24
aload 16
110: iconst_0
iconst_1
iload 9
iload 10
111: iload 18
iload 19
112: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt:([BIILcom/sun/imageio/plugins/common/LZWCompressor;IIIIII)V
end local 24 end local 23 end local 22 end local 21 end local 20 113: goto 121
114: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 16
115: iload 6
iload 11
116: iload 7
iload 12
117: iload 8
118: iconst_0
iconst_1
iload 9
iload 10
119: iload 18
iload 19
120: invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.writeRows:(Ljava/awt/image/RenderedImage;Lcom/sun/imageio/plugins/common/LZWCompressor;IIIIIIIIIII)V
121: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.abortRequested:()Z
ifeq 123
122: return
123: StackMap locals:
StackMap stack:
aload 0
ldc 100.0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageProgress:(F)V
124: aload 16
invokevirtual com.sun.imageio.plugins.common.LZWCompressor.flush:()V
125: aload 0
getfield com.sun.imageio.plugins.gif.GIFImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
126: aload 0
invokevirtual com.sun.imageio.plugins.gif.GIFImageWriter.processImageComplete:()V
127: 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 128 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
0 128 1 image Ljava/awt/image/RenderedImage;
0 128 2 sourceBounds Ljava/awt/Rectangle;
0 128 3 destSize Ljava/awt/Dimension;
0 128 4 param Ljavax/imageio/ImageWriteParam;
0 128 5 interlaceFlag Z
1 128 6 sourceXOffset I
2 128 7 sourceYOffset I
3 128 8 sourceWidth I
5 128 9 destWidth I
6 128 10 destHeight I
8 10 11 periodX I
11 128 11 periodX I
9 10 12 periodY I
12 128 12 periodY I
13 128 13 sampleModel Ljava/awt/image/SampleModel;
14 128 14 bitsPerPixel I
15 128 15 initCodeSize I
20 128 16 compressor Lcom/sun/imageio/plugins/common/LZWCompressor;
28 128 17 isOptimizedCase Z
29 128 18 numRowsWritten I
30 128 19 progressReportRowPeriod I
35 66 20 tile Lsun/awt/image/ByteComponentRaster;
36 66 21 data [B
38 66 22 csm Ljava/awt/image/ComponentSampleModel;
39 66 23 offset I
41 66 24 lineStride I
104 113 20 tile Ljava/awt/image/Raster;
105 113 21 data [B
107 113 22 csm Ljava/awt/image/ComponentSampleModel;
108 113 23 offset I
109 113 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=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tThe method getAsTree(String) from the type IIOMetadata refers to the missing type Node\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriter;
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;
3 16 3 iterCodes Ljava/util/Iterator;
4 16 4 iterData Ljava/util/Iterator;
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=3, 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 2
start local 2 2: goto 7
3: StackMap locals: 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
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
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast byte[]
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
7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 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;
2 8 2 iter Ljava/util/Iterator;
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"