final class com.sun.imageio.plugins.png.PNGImageWriteParam extends javax.imageio.ImageWriteParam
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.imageio.plugins.png.PNGImageWriteParam
super_class: javax.imageio.ImageWriteParam
{
private static final float DEFAULT_QUALITY;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.5
private static final java.lang.String[] compressionNames;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final float[] qualityVals;
descriptor: [F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] qualityDescs;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "Deflate"
aastore
putstatic com.sun.imageio.plugins.png.PNGImageWriteParam.compressionNames:[Ljava/lang/String;
1: iconst_4
newarray 6
dup
iconst_0
fconst_0
fastore
dup
iconst_1
ldc 0.3
fastore
dup
iconst_2
ldc 0.75
fastore
dup
iconst_3
fconst_1
fastore
putstatic com.sun.imageio.plugins.png.PNGImageWriteParam.qualityVals:[F
2: iconst_3
anewarray java.lang.String
dup
iconst_0
3: ldc "High compression"
aastore
dup
iconst_1
4: ldc "Medium compression"
aastore
dup
iconst_2
5: ldc "Low compression"
aastore
6: putstatic com.sun.imageio.plugins.png.PNGImageWriteParam.qualityDescs:[Ljava/lang/String;
7: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.imageio.ImageWriteParam.<init>:()V
1: aload 0
iconst_1
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.canWriteProgressive:Z
2: aload 0
aload 1
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.locale:Ljava/util/Locale;
3: aload 0
iconst_1
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.canWriteCompressed:Z
4: aload 0
getstatic com.sun.imageio.plugins.png.PNGImageWriteParam.compressionNames:[Ljava/lang/String;
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionTypes:[Ljava/lang/String;
5: aload 0
aload 0
getfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionTypes:[Ljava/lang/String;
iconst_0
aaload
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionType:Ljava/lang/String;
6: aload 0
iconst_1
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionMode:I
7: aload 0
ldc 0.5
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionQuality:F
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/png/PNGImageWriteParam;
0 9 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void unsetCompression();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.ImageWriteParam.unsetCompression:()V
1: aload 0
aload 0
getfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionTypes:[Ljava/lang/String;
iconst_0
aaload
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionType:Ljava/lang/String;
2: aload 0
ldc 0.5
putfield com.sun.imageio.plugins.png.PNGImageWriteParam.compressionQuality:F
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/png/PNGImageWriteParam;
public boolean isCompressionLossless();
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/png/PNGImageWriteParam;
public java.lang.String[] getCompressionQualityDescriptions();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.ImageWriteParam.getCompressionQualityDescriptions:()[Ljava/lang/String;
pop
1: getstatic com.sun.imageio.plugins.png.PNGImageWriteParam.qualityDescs:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/png/PNGImageWriteParam;
public float[] getCompressionQualityValues();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.ImageWriteParam.getCompressionQualityValues:()[F
pop
1: getstatic com.sun.imageio.plugins.png.PNGImageWriteParam.qualityVals:[F
invokevirtual float[].clone:()Ljava/lang/Object;
checkcast float[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/png/PNGImageWriteParam;
}
SourceFile: "PNGImageWriter.java"