getBitmapMetadataFromStream

Gets the image metadata from an input stream without having to allocate memory for the image's pixels, see android.graphics.BitmapFactory.Options.inJustDecodeBounds. Note that the stream's position is changed as a result. The input stream is not closed by this method and must be closed the caller.

Return

the metadata encapsulated in a android.graphics.BitmapFactory.Options object.

Parameters

inputStream

A stream to the remote image