what-the-bank/sources/o/vss.java

101 lines
3.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes.dex */
public final class vss extends C17755zWT {
public vss(OTW otw) {
super(otw);
}
@Override // o.C17755zWT, o.C0743NnU
public final String d(int i) {
if (i == 4 || i == 5) {
String o2 = ((kuj) this.a).o(i);
if (o2 == null) {
return null;
}
StringBuilder sb = new StringBuilder();
sb.append(o2);
sb.append(" pixels");
return sb.toString();
}
if (i == 9) {
Integer j = ((kuj) this.a).j(i);
if (j == null) {
return null;
}
int intValue = j.intValue();
if (intValue == 1 || intValue == 2 || intValue == 4 || intValue == 8 || intValue == 16 || intValue == 24 || intValue == 32) {
StringBuilder sb2 = new StringBuilder();
sb2.append(j);
sb2.append("-bit color");
return sb2.toString();
}
if (intValue == 34 || intValue == 36 || intValue == 40) {
StringBuilder sb3 = new StringBuilder();
sb3.append(j.intValue() - 32);
sb3.append("-bit grayscale");
return sb3.toString();
}
StringBuilder sb4 = new StringBuilder("Unknown (");
sb4.append(j);
sb4.append(")");
return sb4.toString();
}
if (i != 11) {
if (i != 13) {
return super.d(i);
}
Integer j2 = ((kuj) this.a).j(i);
if (j2 == null) {
return null;
}
int intValue2 = j2.intValue();
if (intValue2 == -1) {
Integer j3 = ((kuj) this.a).j(9);
return (j3 == null || j3.intValue() >= 16) ? "None" : "Default";
}
if (intValue2 == 0) {
return "Color table within file";
}
StringBuilder sb5 = new StringBuilder("Unknown (");
sb5.append(j2);
sb5.append(")");
return sb5.toString();
}
Integer j4 = ((kuj) this.a).j(11);
if (j4 == null) {
return null;
}
int intValue3 = j4.intValue();
if (intValue3 == 0) {
return "Copy";
}
if (intValue3 == 32) {
return "Blend";
}
if (intValue3 == 36) {
return "Transparent";
}
if (intValue3 == 64) {
return "Dither copy";
}
switch (intValue3) {
case 256:
return "Straight alpha";
case 257:
return "Premul white alpha";
case 258:
return "Premul black alpha";
case 259:
return "Composition (dither copy)";
case 260:
return "Straight alpha blend";
default:
StringBuilder sb6 = new StringBuilder("Unknown (");
sb6.append(j4);
sb6.append(")");
return sb6.toString();
}
}
}