BitmapEncoder
An com.bumptech.glide.load.ResourceEncoder that writes android.graphics.Bitmaps to java.io.OutputStreams.
android.graphics.Bitmaps that return true from ()} are written using PNG to preserve alpha and all other bitmaps are written using JPEG.