public class com.sun.imageio.plugins.wbmp.WBMPImageWriter extends javax.imageio.ImageWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.wbmp.WBMPImageWriter
super_class: javax.imageio.ImageWriter
{
private javax.imageio.stream.ImageOutputStream stream;
descriptor: Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0002) ACC_PRIVATE
private static int getNumBits(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: bipush 32
istore 1
start local 1 1: ldc -2147483648
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iinc 1 -1
4: iload 2
iconst_1
iushr
istore 2
5: StackMap locals:
StackMap stack:
iload 2
ifeq 6
iload 0
iload 2
iand
ifeq 3
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 intValue I
1 7 1 numBits I
2 7 2 mask I
MethodParameters:
Name Flags
intValue
private static byte[] intToMultiByte(int);
descriptor: (I)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: iload 0
invokestatic com.sun.imageio.plugins.wbmp.WBMPImageWriter.getNumBits:(I)I
istore 1
start local 1 1: iload 1
bipush 6
iadd
bipush 7
idiv
newarray 8
astore 2
start local 2 2: aload 2
arraylength
iconst_1
isub
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 9
5: StackMap locals: int int byte[] int int
StackMap stack:
aload 2
iload 4
iload 0
iload 3
iload 4
isub
bipush 7
imul
iushr
bipush 127
iand
i2b
bastore
6: iload 4
iload 3
if_icmpeq 8
7: aload 2
iload 4
dup2
baload
bipush -128
ior
i2b
bastore
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 3
if_icmple 5
end local 4 10: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 intValue I
1 11 1 numBitsLeft I
2 11 2 multiBytes [B
3 11 3 maxIndex I
4 10 4 b I
MethodParameters:
Name Flags
intValue
public void <init>(javax.imageio.spi.ImageWriterSpi);
descriptor: (Ljavax/imageio/spi/ImageWriterSpi;)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.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 3 1 originator Ljavax/imageio/spi/ImageWriterSpi;
MethodParameters:
Name Flags
originator
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 6
2: aload 1
instanceof javax.imageio.stream.ImageOutputStream
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "WBMPImageWriter"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.imageio.stream.ImageOutputStream
putfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 8 1 output Ljava/lang/Object;
MethodParameters:
Name Flags
output
public javax.imageio.metadata.IIOMetadata getDefaultStreamMetadata(javax.imageio.ImageWriteParam);
descriptor: (Ljavax/imageio/ImageWriteParam;)Ljavax/imageio/metadata/IIOMetadata;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 1 1 param Ljavax/imageio/ImageWriteParam;
MethodParameters:
Name Flags
param
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=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.imageio.plugins.wbmp.WBMPMetadata
dup
invokespecial com.sun.imageio.plugins.wbmp.WBMPMetadata.<init>:()V
astore 3
start local 3 1: aload 3
iconst_0
putfield com.sun.imageio.plugins.wbmp.WBMPMetadata.wbmpType:I
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 3 1 imageType Ljavax/imageio/ImageTypeSpecifier;
0 3 2 param Ljavax/imageio/ImageWriteParam;
1 3 3 meta Lcom/sun/imageio/plugins/wbmp/WBMPMetadata;
MethodParameters:
Name Flags
imageType
param
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=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 1 1 inData Ljavax/imageio/metadata/IIOMetadata;
0 1 2 param Ljavax/imageio/ImageWriteParam;
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=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 1 1 metadata Ljavax/imageio/metadata/IIOMetadata;
0 1 2 type Ljavax/imageio/ImageTypeSpecifier;
0 1 3 param Ljavax/imageio/ImageWriteParam;
MethodParameters:
Name Flags
metadata
type
param
public boolean canWriteRasters();
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/wbmp/WBMPImageWriter;
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=8, locals=27, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "WBMPImageWriter3"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
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 "WBMPImageWriter4"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.clearAbortRequest:()V
5: aload 0
iconst_0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processImageStarted:(I)V
6: aload 3
ifnonnull 8
7: aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.getDefaultWriteParam:()Ljavax/imageio/ImageWriteParam;
astore 3
8: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 9: aconst_null
astore 5
start local 5 10: aload 2
invokevirtual javax.imageio.IIOImage.hasRaster:()Z
istore 6
start local 6 11: aload 3
invokevirtual javax.imageio.ImageWriteParam.getSourceRegion:()Ljava/awt/Rectangle;
astore 7
start local 7 12: aconst_null
astore 8
start local 8 13: iload 6
ifeq 17
14: aload 2
invokevirtual javax.imageio.IIOImage.getRaster:()Ljava/awt/image/Raster;
astore 5
15: aload 5
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
astore 8
16: goto 20
17: StackMap locals: com.sun.imageio.plugins.wbmp.WBMPImageWriter javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.Raster int java.awt.Rectangle java.awt.image.SampleModel
StackMap stack:
aload 2
invokevirtual javax.imageio.IIOImage.getRenderedImage:()Ljava/awt/image/RenderedImage;
astore 4
18: aload 4
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
astore 8
19: aload 4
invokeinterface java.awt.image.RenderedImage.getData:()Ljava/awt/image/Raster;
astore 5
20: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.checkSampleModel:(Ljava/awt/image/SampleModel;)V
21: aload 7
ifnonnull 23
22: aload 5
invokevirtual java.awt.image.Raster.getBounds:()Ljava/awt/Rectangle;
astore 7
goto 24
23: StackMap locals:
StackMap stack:
aload 7
aload 5
invokevirtual java.awt.image.Raster.getBounds:()Ljava/awt/Rectangle;
invokevirtual java.awt.Rectangle.intersection:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 7
24: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.awt.Rectangle.isEmpty:()Z
ifeq 26
25: new java.lang.RuntimeException
dup
ldc "WBMPImageWriter1"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual javax.imageio.ImageWriteParam.getSourceXSubsampling:()I
istore 9
start local 9 27: aload 3
invokevirtual javax.imageio.ImageWriteParam.getSourceYSubsampling:()I
istore 10
start local 10 28: aload 3
invokevirtual javax.imageio.ImageWriteParam.getSubsamplingXOffset:()I
istore 11
start local 11 29: aload 3
invokevirtual javax.imageio.ImageWriteParam.getSubsamplingYOffset:()I
istore 12
start local 12 30: aload 7
iload 11
iload 12
invokevirtual java.awt.Rectangle.translate:(II)V
31: aload 7
dup
getfield java.awt.Rectangle.width:I
iload 11
isub
putfield java.awt.Rectangle.width:I
32: aload 7
dup
getfield java.awt.Rectangle.height:I
iload 12
isub
putfield java.awt.Rectangle.height:I
33: aload 7
getfield java.awt.Rectangle.x:I
iload 9
idiv
istore 13
start local 13 34: aload 7
getfield java.awt.Rectangle.y:I
iload 10
idiv
istore 14
start local 14 35: aload 7
getfield java.awt.Rectangle.width:I
iload 9
iadd
iconst_1
isub
iload 9
idiv
istore 15
start local 15 36: aload 7
getfield java.awt.Rectangle.height:I
iload 10
iadd
iconst_1
isub
iload 10
idiv
istore 16
start local 16 37: new java.awt.Rectangle
dup
iload 13
iload 14
iload 15
iload 16
invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 17
start local 17 38: aload 8
iload 15
iload 16
invokevirtual java.awt.image.SampleModel.createCompatibleSampleModel:(II)Ljava/awt/image/SampleModel;
astore 8
39: aload 8
astore 18
start local 18 40: aload 8
invokevirtual java.awt.image.SampleModel.getDataType:()I
ifne 43
41: aload 8
instanceof java.awt.image.MultiPixelPackedSampleModel
ifeq 43
42: aload 8
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getDataBitOffset:()I
ifeq 48
43: StackMap locals: com.sun.imageio.plugins.wbmp.WBMPImageWriter javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.Raster int java.awt.Rectangle java.awt.image.SampleModel int int int int int int int int java.awt.Rectangle java.awt.image.SampleModel
StackMap stack:
new java.awt.image.MultiPixelPackedSampleModel
dup
iconst_0
44: iload 15
iload 16
iconst_1
45: iload 15
bipush 7
iadd
iconst_3
ishr
iconst_0
46: invokespecial java.awt.image.MultiPixelPackedSampleModel.<init>:(IIIIII)V
47: astore 18
48: StackMap locals:
StackMap stack:
aload 17
aload 7
invokevirtual java.awt.Rectangle.equals:(Ljava/lang/Object;)Z
ifne 76
49: iload 9
iconst_1
if_icmpne 55
iload 10
iconst_1
if_icmpne 55
50: aload 5
aload 5
invokevirtual java.awt.image.Raster.getMinX:()I
51: aload 5
invokevirtual java.awt.image.Raster.getMinY:()I
52: iload 15
iload 16
iload 13
iload 14
aconst_null
53: invokevirtual java.awt.image.Raster.createChild:(IIIIII[I)Ljava/awt/image/Raster;
astore 5
54: goto 76
55: StackMap locals:
StackMap stack:
aload 18
56: new java.awt.Point
dup
iload 13
iload 14
invokespecial java.awt.Point.<init>:(II)V
57: invokestatic java.awt.image.Raster.createWritableRaster:(Ljava/awt/image/SampleModel;Ljava/awt/Point;)Ljava/awt/image/WritableRaster;
astore 19
start local 19 58: aload 19
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 20
start local 20 59: iload 14
istore 21
start local 21 60: aload 7
getfield java.awt.Rectangle.y:I
istore 22
start local 22 61: iconst_0
istore 23
start local 23 62: goto 73
63: StackMap locals: com.sun.imageio.plugins.wbmp.WBMPImageWriter javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.Raster int java.awt.Rectangle java.awt.image.SampleModel int int int int int int int int java.awt.Rectangle java.awt.image.SampleModel java.awt.image.WritableRaster byte[] int int int
StackMap stack:
iconst_0
istore 24
start local 24 64: aload 7
getfield java.awt.Rectangle.x:I
istore 25
start local 25 65: goto 69
66: StackMap locals: int int
StackMap stack:
aload 5
iload 25
iload 22
iconst_0
invokevirtual java.awt.image.Raster.getSample:(III)I
istore 26
start local 26 67: aload 20
iload 23
iload 24
iconst_3
ishr
iadd
dup2
baload
iload 26
bipush 7
iload 24
bipush 7
iand
isub
ishl
ior
i2b
bastore
end local 26 68: iinc 24 1
iload 25
iload 9
iadd
istore 25
StackMap locals:
StackMap stack:
69: iload 24
iload 15
70: if_icmplt 66
end local 25 end local 24 71: iload 23
iload 15
bipush 7
iadd
iconst_3
ishr
iadd
istore 23
72: iinc 21 1
iload 22
iload 10
iadd
istore 22
StackMap locals:
StackMap stack:
73: iload 21
iload 14
iload 16
iadd
74: if_icmplt 63
end local 23 end local 22 end local 21 75: aload 19
astore 5
end local 20 end local 19 76: StackMap locals: com.sun.imageio.plugins.wbmp.WBMPImageWriter javax.imageio.metadata.IIOMetadata javax.imageio.IIOImage javax.imageio.ImageWriteParam java.awt.image.RenderedImage java.awt.image.Raster int java.awt.Rectangle java.awt.image.SampleModel int int int int int int int int java.awt.Rectangle java.awt.image.SampleModel
StackMap stack:
aload 18
aload 5
invokevirtual java.awt.image.Raster.getSampleModel:()Ljava/awt/image/SampleModel;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 85
77: aload 18
78: new java.awt.Point
dup
aload 5
invokevirtual java.awt.image.Raster.getMinX:()I
79: aload 5
invokevirtual java.awt.image.Raster.getMinY:()I
80: invokespecial java.awt.Point.<init>:(II)V
81: invokestatic java.awt.image.Raster.createWritableRaster:(Ljava/awt/image/SampleModel;Ljava/awt/Point;)Ljava/awt/image/WritableRaster;
82: astore 19
start local 19 83: aload 19
aload 5
invokevirtual java.awt.image.WritableRaster.setRect:(Ljava/awt/image/Raster;)V
84: aload 19
astore 5
end local 19 85: StackMap locals:
StackMap stack:
iconst_0
istore 19
start local 19 86: iload 6
ifne 91
aload 4
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
instanceof java.awt.image.IndexColorModel
ifeq 91
87: aload 4
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
checkcast java.awt.image.IndexColorModel
astore 20
start local 20 88: aload 20
iconst_0
invokevirtual java.awt.image.IndexColorModel.getRed:(I)I
aload 20
iconst_1
invokevirtual java.awt.image.IndexColorModel.getRed:(I)I
if_icmple 89
iconst_1
goto 90
StackMap locals: int java.awt.image.IndexColorModel
StackMap stack:
89: iconst_0
StackMap locals:
StackMap stack: int
90: istore 19
end local 20 91: StackMap locals:
StackMap stack:
aload 18
checkcast java.awt.image.MultiPixelPackedSampleModel
invokevirtual java.awt.image.MultiPixelPackedSampleModel.getScanlineStride:()I
92: istore 20
start local 20 93: iload 15
bipush 7
iadd
bipush 8
idiv
istore 21
start local 21 94: aload 5
invokevirtual java.awt.image.Raster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferByte
invokevirtual java.awt.image.DataBufferByte.getData:()[B
astore 22
start local 22 95: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
96: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iconst_0
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
97: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 15
invokestatic com.sun.imageio.plugins.wbmp.WBMPImageWriter.intToMultiByte:(I)[B
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
98: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 16
invokestatic com.sun.imageio.plugins.wbmp.WBMPImageWriter.intToMultiByte:(I)[B
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
99: iload 19
ifne 103
iload 20
iload 21
if_icmpne 103
100: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 22
iconst_0
iload 16
iload 21
imul
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
101: aload 0
ldc 100.0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processImageProgress:(F)V
102: goto 130
103: StackMap locals: int int byte[]
StackMap stack:
iconst_0
istore 23
start local 23 104: iload 19
ifne 115
105: iconst_0
istore 24
start local 24 106: goto 113
107: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.abortRequested:()Z
ifeq 109
108: goto 130
109: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 22
iload 23
iload 21
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
110: iload 23
iload 20
iadd
istore 23
111: aload 0
ldc 100.0
iload 24
i2f
fmul
iload 16
i2f
fdiv
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processImageProgress:(F)V
112: iinc 24 1
StackMap locals:
StackMap stack:
113: iload 24
iload 16
if_icmplt 107
end local 24 114: goto 130
115: StackMap locals:
StackMap stack:
iload 21
newarray 8
astore 24
start local 24 116: iconst_0
istore 25
start local 25 117: goto 129
118: StackMap locals: byte[] int
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.abortRequested:()Z
ifeq 120
119: goto 130
120: StackMap locals:
StackMap stack:
iconst_0
istore 26
start local 26 121: goto 124
122: StackMap locals: int
StackMap stack:
aload 24
iload 26
aload 22
iload 26
iload 23
iadd
baload
iconst_m1
ixor
i2b
bastore
123: iinc 26 1
StackMap locals:
StackMap stack:
124: iload 26
iload 21
if_icmplt 122
end local 26 125: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 24
iconst_0
iload 21
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
126: iload 23
iload 20
iadd
istore 23
127: aload 0
ldc 100.0
iload 25
i2f
fmul
iload 16
i2f
fdiv
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processImageProgress:(F)V
128: iinc 25 1
StackMap locals:
StackMap stack:
129: iload 25
iload 16
if_icmplt 118
end local 25 end local 24 end local 23 130: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.abortRequested:()Z
ifeq 132
131: aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processWriteAborted:()V
goto 134
132: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.wbmp.WBMPImageWriter.processImageComplete:()V
133: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
invokeinterface javax.imageio.stream.ImageOutputStream.getStreamPosition:()J
invokeinterface javax.imageio.stream.ImageOutputStream.flushBefore:(J)V
134: StackMap locals:
StackMap stack:
return
end local 22 end local 21 end local 20 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 135 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 135 1 streamMetadata Ljavax/imageio/metadata/IIOMetadata;
0 135 2 image Ljavax/imageio/IIOImage;
0 135 3 param Ljavax/imageio/ImageWriteParam;
9 135 4 input Ljava/awt/image/RenderedImage;
10 135 5 inputRaster Ljava/awt/image/Raster;
11 135 6 writeRaster Z
12 135 7 sourceRegion Ljava/awt/Rectangle;
13 135 8 sampleModel Ljava/awt/image/SampleModel;
27 135 9 scaleX I
28 135 10 scaleY I
29 135 11 xOffset I
30 135 12 yOffset I
34 135 13 minX I
35 135 14 minY I
36 135 15 w I
37 135 16 h I
38 135 17 destinationRegion Ljava/awt/Rectangle;
40 135 18 destSM Ljava/awt/image/SampleModel;
58 76 19 ras Ljava/awt/image/WritableRaster;
59 76 20 data [B
60 75 21 j I
61 75 22 y I
62 75 23 k I
64 71 24 i I
65 71 25 x I
67 68 26 v I
83 85 19 raster Ljava/awt/image/WritableRaster;
86 135 19 isWhiteZero Z
88 91 20 icm Ljava/awt/image/IndexColorModel;
93 135 20 lineStride I
94 135 21 bytesPerRow I
95 135 22 bdata [B
104 130 23 offset I
106 114 24 row I
116 130 24 inverted [B
117 130 25 row I
121 125 26 col I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
streamMetadata
image
param
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.ImageWriter.reset:()V
1: aload 0
aconst_null
putfield com.sun.imageio.plugins.wbmp.WBMPImageWriter.stream:Ljavax/imageio/stream/ImageOutputStream;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
private void checkSampleModel(java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/SampleModel;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.image.SampleModel.getDataType:()I
istore 2
start local 2 1: iload 2
iflt 3
iload 2
iconst_3
if_icmpgt 3
2: aload 1
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 3
aload 1
iconst_0
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
iconst_1
if_icmpeq 4
3: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "WBMPImageWriter2"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageWriter;
0 5 1 sm Ljava/awt/image/SampleModel;
1 5 2 type I
MethodParameters:
Name Flags
sm
}
SourceFile: "WBMPImageWriter.java"