public BitmapRequestBuilder<ModelType, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int quality) {
        return transcode(new BitmapBytesTranscoder(compressFormat, quality), byte[].class);
    }
Transcodes the decoded and transformed {@link Bitmap} to bytes by compressing it using the
given format and quality to a byte array.

@see Bitmap#compress(Bitmap.CompressFormat, int, java.io.OutputStream)
@see #toBytes()

@param compressFormat The {@link Bitmap.CompressFormat} to use to compress the {@link Bitmap}.
@param quality The quality level from 0-100 to use to compress the {@link Bitmap}.
@return This request builder.
core/src/main/java/com/bumptech/glide/BitmapTypeRequest.java