4 thoughts on “Attach EXIF metadata to a serialized Bitmap in Android

  1. Hey, I’ve been looking for this for a long time. But when I execute the 7th line of the code:

    “IImageMetadata metadata = Sanselan.getMetadata(new File(filepath));”

    I get an exception saying that ‘the magic numbers couldn’t be read’. The strange thing is that I can open the image pointed by filepath normally on a gallery-like app. Do you have any clue on what this might be?

  2. Hi Vikas, This does not work with android because it requires java.awt libraries which are NOT supported on Android.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s