Access Image Metadata – Description

I want to use HTML5/JavaScript(Internet Explorer 11) to read a .png files metadata, specifically the description field.

Right now I got it so that the user can drag an image to the browser and it will display it, and then it has a place to show the description and everything as well, but I don’t know how to get the description from the file.

All the code should be so that it’s all processed client-side, which is why I am trying to use JS only.  Upon the initial loading of the webpage, they shouldn’t need access to the internet anymore.  Which also makes it so I can use an AppCache
Manifest file to allow them to load the webpage and use it offline for future use after the 1st time as well.

Does anyone know how I might go about doing this?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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