Spredzy
Spredzy

Reputation: 5164

How to get metadata from a picture?

I am browsing the web but no way to find how to get metadata from a picture.

Does anyone has an idea ?

I can't see anything in the Bitmap/BitmapFactory/BitmapFactory.Options documentation that would give me a hint.

I would like to retrieve standard information such as :

and maybe more.

Any idea ?

Upvotes: 11

Views: 3604

Answers (2)

RoflcoptrException
RoflcoptrException

Reputation: 52229

According to this thread

http://osdir.com/ml/AndroidDevelopers/2009-02/msg00821.html

you have to use ImageManager

Upvotes: 2

hpique
hpique

Reputation: 120324

You can get at least the size of the image by setting BitmapFactory.Options.inJustDecodeBounds to true.

If the image is in the MediaStore, you might be able to get more information.

Upvotes: 2

Related Questions