geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java
public void setData(Bitmap bitmap, Bitmap.CompressFormat format, int quality)
            throws IOException {
        setData(BitmapConverter.toBytes(bitmap, format, quality));
    }
public void setData(Bitmap bitmap, Bitmap.CompressFormat format, int quality)
            throws IOException {
        setData(BitmapConverter.toBytes(bitmap, format, quality));
    }
Set the data from a bitmap

@param bitmap  bitmap
@param format  compress format
@param quality quality
@throws IOException upon failure
@since 3.2.0