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

  1. Breno

    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?

    Reply
  2. Michael

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

    Reply

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s