package o; import android.graphics.Bitmap; import java.io.ByteArrayOutputStream; /* loaded from: classes.dex */ public final class QaR implements yBU { private final Bitmap.CompressFormat c; private final int e; public QaR() { this(Bitmap.CompressFormat.JPEG); } private QaR(Bitmap.CompressFormat compressFormat) { this.c = compressFormat; this.e = 100; } @Override // o.yBU public final Ezi e(Ezi ezi, unA una) { ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); ezi.e().compress(this.c, this.e, byteArrayOutputStream); ezi.b(); return new sDJ(byteArrayOutputStream.toByteArray()); } }