geopackage-sdk/src/main/java/mil/nga/geopackage/extension/related/media/MediaRow.java
public BitmapFactory.Options getDataBounds() {
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inJustDecodeBounds = true;
        byte[] data = getData();
        BitmapFactory.decodeByteArray(data, 0, data.length, options);
        return options;
    }
public BitmapFactory.Options getDataBounds() {
        BitmapFactory.Options options = new BitmapFactory.Options();
        options.inJustDecodeBounds = true;
        byte[] data = getData();
        BitmapFactory.decodeByteArray(data, 0, data.length, options);
        return options;
    }
public BitmapFactory . Options getDataBounds ( ) { BitmapFactory . Options options = new BitmapFactory . Options ( ) ; options . inJustDecodeBounds = true ; byte [ ] data = getData ( ) ; BitmapFactory . decodeByteArray ( data , 0 , data . length , options ) ; return options ; }
Read the data bounds without allocating pixel memory.
Access values using:
{@link BitmapFactory.Options#outWidth},
{@link BitmapFactory.Options#outHeight},
{@link BitmapFactory.Options#outMimeType},
{@link BitmapFactory.Options#outColorSpace},
and {@link BitmapFactory.Options#outConfig}

@return bounds options
@since 3.2.0
Read the data bounds without allocating pixel memory . Access values using : { @link BitmapFactory . Options#outWidth } { @link BitmapFactory . Options#outHeight } { @link BitmapFactory . Options#outMimeType } { @link BitmapFactory . Options#outColorSpace } and { @link BitmapFactory . Options#outConfig }