geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/user/TileRow.java
public void setTileData(Bitmap bitmap, CompressFormat format, int quality)
            throws IOException {
        byte[] tileData = BitmapConverter.toBytes(bitmap, format, quality);
        setTileData(tileData);
    }
public void setTileData(Bitmap bitmap, CompressFormat format, int quality)
            throws IOException {
        byte[] tileData = BitmapConverter.toBytes(bitmap, format, quality);
        setTileData(tileData);
    }
public void setTileData ( Bitmap bitmap , CompressFormat format , int quality ) throws IOException { byte [ ] tileData = BitmapConverter . toBytes ( bitmap , format , quality ) ; setTileData ( tileData ) ; }
Set the tile data from a bitmap

@param bitmap  tile bitmap
@param format  compress format
@param quality quality
@throws IOException upon failure
Set the tile data from a bitmap