<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d13148410\x26blogName\x3dYou+Look+Like+I+Need+a+Drink\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://chalkline.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://chalkline.blogspot.com/\x26vt\x3d6309081622733023818', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

You Look Like I Need a Drink

**Not Quite Web 2.0**

Extracting Metadata From Jpegs (Jpgs)

Monday, October 03, 2005

Today I will go into a brief tutorial on pulling metadata from Jpegs. I tried both EXIFViewer as well as UnJpeg. But let's take a step back for a second. What is 'metadata'? You may or may not know that when you take a digital picture, tiny bits of information is embedded in that picture. Information such as what digital camera was used, date, photo editing software and other information can be recovered. Let's take a look at an example.

Both applications were shareware and I found that I did not like UnJpeg at all. As a result, I used EXIFViewer. Now let's go over to Flickr and steal--err, borrow some pics. I looked up 'clowns' and did the old right click and saved 3 different clown pictures. Now open up EXIFViewer.


We peruse over to the files in the folder I named 'meta' and see that we are able to get the metadata for one picture (this program will not find ALL metadata but will a fair amount. Also, if the picture is scanned, from a webcam etc., it may not uncover the metadata).


As you can see, we have found that the camera used was a Sony Cybershot taken on 4/23/02. Now most likely this is the correct data as software such as we are using here can alter that, but your common non-geek will never bother changing this info or even have a clue about it. Have fun and happy hunting. I found this open source version here but have yet to try it. If you have more information on this, I would love to hear it.

Labels:

posted by aL, 9:07 AM

0 Comments:

Add a comment