public class javax.imageio.plugins.jpeg.JPEGImageWriteParam extends javax.imageio.ImageWriteParam
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.imageio.plugins.jpeg.JPEGImageWriteParam
super_class: javax.imageio.ImageWriteParam
{
private javax.imageio.plugins.jpeg.JPEGQTable[] qTables;
descriptor: [Ljavax/imageio/plugins/jpeg/JPEGQTable;
flags: (0x0002) ACC_PRIVATE
private javax.imageio.plugins.jpeg.JPEGHuffmanTable[] DCHuffmanTables;
descriptor: [Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
flags: (0x0002) ACC_PRIVATE
private javax.imageio.plugins.jpeg.JPEGHuffmanTable[] ACHuffmanTables;
descriptor: [Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
flags: (0x0002) ACC_PRIVATE
private boolean optimizeHuffman;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] compressionNames;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private float[] qualityVals;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] qualityDescs;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.imageio.ImageWriteParam.<init>:(Ljava/util/Locale;)V
1: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
2: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.DCHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
3: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.ACHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
4: aload 0
iconst_0
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.optimizeHuffman:Z
5: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "JPEG"
aastore
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionNames:[Ljava/lang/String;
6: aload 0
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
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qualityVals:[F
7: aload 0
iconst_3
anewarray java.lang.String
dup
iconst_0
8: ldc "Low quality"
aastore
dup
iconst_1
9: ldc "Medium quality"
aastore
dup
iconst_2
10: ldc "Visually lossless"
aastore
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qualityDescs:[Ljava/lang/String;
11: aload 0
iconst_1
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.canWriteProgressive:Z
12: aload 0
iconst_0
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.progressiveMode:I
13: aload 0
iconst_1
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.canWriteCompressed:Z
14: aload 0
aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionNames:[Ljava/lang/String;
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionTypes:[Ljava/lang/String;
15: aload 0
aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionTypes:[Ljava/lang/String;
iconst_0
aaload
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionType:Ljava/lang/String;
16: aload 0
ldc 0.75
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionQuality:F
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
0 18 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
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionMode:()I
iconst_2
if_icmpeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "Compression mode not MODE_EXPLICIT!"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
ldc 0.75
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.compressionQuality:F
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public boolean isCompressionLossless();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionMode:()I
iconst_2
if_icmpeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "Compression mode not MODE_EXPLICIT!"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public java.lang.String[] getCompressionQualityDescriptions();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionMode:()I
iconst_2
if_icmpeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "Compression mode not MODE_EXPLICIT!"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionTypes:()[Ljava/lang/String;
ifnull 7
5: aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionType:()Ljava/lang/String;
ifnonnull 7
6: new java.lang.IllegalStateException
dup
ldc "No compression type set!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.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 8 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public float[] getCompressionQualityValues();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionMode:()I
iconst_2
if_icmpeq 4
1: new java.lang.IllegalStateException
dup
2: ldc "Compression mode not MODE_EXPLICIT!"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionTypes:()[Ljava/lang/String;
ifnull 7
5: aload 0
invokevirtual javax.imageio.plugins.jpeg.JPEGImageWriteParam.getCompressionType:()Ljava/lang/String;
ifnonnull 7
6: new java.lang.IllegalStateException
dup
ldc "No compression type set!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qualityVals:[F
invokevirtual float[].clone:()Ljava/lang/Object;
checkcast float[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public boolean areTablesSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public void setEncodeTables(javax.imageio.plugins.jpeg.JPEGQTable[], javax.imageio.plugins.jpeg.JPEGHuffmanTable[], javax.imageio.plugins.jpeg.JPEGHuffmanTable[]);
descriptor: ([Ljavax/imageio/plugins/jpeg/JPEGQTable;[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 7
1: aload 2
ifnull 7
2: aload 3
ifnull 7
3: aload 1
arraylength
iconst_4
if_icmpgt 7
4: aload 2
arraylength
iconst_4
if_icmpgt 7
5: aload 3
arraylength
iconst_4
if_icmpgt 7
6: aload 2
arraylength
aload 3
arraylength
if_icmpeq 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid JPEG table arrays"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.imageio.plugins.jpeg.JPEGQTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGQTable[]
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
9: aload 0
aload 2
invokevirtual javax.imageio.plugins.jpeg.JPEGHuffmanTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.DCHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
10: aload 0
aload 3
invokevirtual javax.imageio.plugins.jpeg.JPEGHuffmanTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.ACHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
0 12 1 qTables [Ljavax/imageio/plugins/jpeg/JPEGQTable;
0 12 2 DCHuffmanTables [Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
0 12 3 ACHuffmanTables [Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
MethodParameters:
Name Flags
qTables
DCHuffmanTables
ACHuffmanTables
public void unsetEncodeTables();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
1: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.DCHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
2: aload 0
aconst_null
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.ACHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public javax.imageio.plugins.jpeg.JPEGQTable[] getQTables();
descriptor: ()[Ljavax/imageio/plugins/jpeg/JPEGQTable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
ifnull 1
aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.qTables:[Ljavax/imageio/plugins/jpeg/JPEGQTable;
invokevirtual javax.imageio.plugins.jpeg.JPEGQTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGQTable[]
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: javax.imageio.plugins.jpeg.JPEGQTable[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public javax.imageio.plugins.jpeg.JPEGHuffmanTable[] getDCHuffmanTables();
descriptor: ()[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.DCHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
ifnull 2
1: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.DCHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
invokevirtual javax.imageio.plugins.jpeg.JPEGHuffmanTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public javax.imageio.plugins.jpeg.JPEGHuffmanTable[] getACHuffmanTables();
descriptor: ()[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.ACHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
ifnull 2
1: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.ACHuffmanTables:[Ljavax/imageio/plugins/jpeg/JPEGHuffmanTable;
invokevirtual javax.imageio.plugins.jpeg.JPEGHuffmanTable[].clone:()Ljava/lang/Object;
checkcast javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: javax.imageio.plugins.jpeg.JPEGHuffmanTable[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
public void setOptimizeHuffmanTables(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.optimizeHuffman:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
0 2 1 optimize Z
MethodParameters:
Name Flags
optimize
public boolean getOptimizeHuffmanTables();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.plugins.jpeg.JPEGImageWriteParam.optimizeHuffman:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/plugins/jpeg/JPEGImageWriteParam;
}
SourceFile: "JPEGImageWriteParam.java"