To me, the most interesting parts are the camera info - camera name, focal length and ISO speed setting - the location of the photo - latitude / longitude - and the dimensions of the image.įor the first, look at kMDItemAcquisitionMake, kMDItemAcquisitionModel, kMDItemExposureTimeSeconds, kMDItemFNumber and kMDItemISOSpeed. KMDItemImageDirection = 310.9829545454546Īs you can see, quite a huge amount of data is produced from the command, far more than you want, I’m betting!
KMDItemContentModificationDate = 15:19:49 +0000
KMDItemContentCreationDate = 15:19:49 +0000 Every time you take a photo with a digital camera or smartphone, your device adds extra information to the image filemetadata about the image that’s stored within the image itself. It has a Remove Location Info option to nuke these pieces of data. Where location or geo-data exists, Preview splits it off into a separate tab known as GPS. When it appears, click on the right-facing triangle beside the words More info and the basic EXIF data will.
#HOW TO ACCESS EXIF DATA MAC PRO#
Apple Pro Tips You’re Two Clicks from a Photo’s EXIF Data: Just click on the photo’s icon, then press Command-i to bring up the info dialog. If a file has EXIF data, a tab labeled Exif thrusts into view. However, there is a way to view the basic EXIF data in the OS X Finder. Here’s what I see when I use “mdls” on a photo sitting on my desktop: $ mdls IMG_1331.JPG On your Mac, launch a photo in Preview and choose Show Inspector from the Tools menu.
#HOW TO ACCESS EXIF DATA MAC MAC OS X#
Generally it’s required special third party open source programs to access EXIF information on photos from the command line, but Mac OS X includes a slick utility called “mdls” (which stands for metadata-ls). EXIF, in fact, stands for “EXchangeable Image Format”, if you’re curious. □Īs you already know, photos taken by modern cameras (and cell phones) embed extra information including film speed, lens size, date, time, geographic location of the photo and many other items of data. Yeah, I’ve been exploring shell scripts for a long time now, so I’m the perfect person to ask. Not to mention that I write a column on shell script programming for Linux Journal and am the author of the best selling Wicked Cool Shell Scripts for NoStarch Press. Available for both Mac and Windows, this tool not only helps learn a lot about capturing images but also tells what information you share with others. You can do it manually, but the best way is to use Photos EXIF Editor, a fine tool for enthusiasts and professionals. Ah, what a refreshing question! I’ve been writing shell scripts for so long that it’s burned into my brain. So, before you upload an image consider clearing EXIF data, IPTC, and XMP data.