

- #Read exif data mac how to#
- #Read exif data mac mac os x#
- #Read exif data mac serial#
- #Read exif data mac mac#
This will allow you to either create a copy with all possible properties removed or remove certain properties from the existing file. To strip exif data on Windows, you’ll click the ‘Remove properties and personal information” link at the bottom of the “detail” tab in the properties viewer of the image.
#Read exif data mac mac#
For windows you can edit exif data using the normal windows system, but on Mac or iPhone, you will need a 3rd party program. Removing exif data from photos is easier on Windows than mac and iPhone.

There is a geotagging section with at least that many values.

#Read exif data mac serial#
As you can see, the Exif data viewer shows a lot of information including date taken, dimensions, size, authors, camera maker, camera model, camera serial numbers, iso speed, F-stop, exposure time, bias and program, metering mode, flash mode, focal length, lens maker, lens model, and that’s just in that one section. To find, view and read exif data you’ll go to the image properties and click on the ‘View Details’ tab to get to the exif data location, on Windows, as shown in the first image above. The photo exif data contains information that may be privacy sensitive to some and so people have a desire and need to view, edit and remove some image exif data. What is Exif Data?ĮXIF data is a specific file format (Exchangeable Image File Format) that allows data known as metadata to be recorded and shared with each image that may contain all types of information related to the location (geolocation metadata) the image was taken, the date, the time, the author, the settings used to take the photo and more. Read on to learn more about EXIF data, viewing it and editing or removing it from photos. Viewing and editing the data will be accessible or not and different depending on where you do it, whether it’s Windows or Mac, iPhone or Android. EXIF data for basic camera settings of the image taken will be recorded. The volume of EXIF data recorded can be controlled to some degree but some EXIF data will be recorded no matter what.
#Read exif data mac how to#
The location is stored in kMDItemLatitude and kMDItemLongitude, and the dimensions are kMDItemPixelHeight and kMDItemPixelWidth.įrom a scripting perspective, these are easily extracted and saved as named variables like this: height=$(mdls IMG_1331.Exif Data and How To Remove It From Your PhotosĮXIF Data is recorded every time a photo is taken by a camera or phone. 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! String //convert the date to NSDate var dateFormatter NSDateFormatter() dateFormatter.dateFormat 'yyyy:MM:dd HH:mm:ss' var date dateFormatter.dateFromString(dateString) //convert the NSDate back to String (only because I want another date format) dateFormatter.dateFormat 'dd.MM. KMDItemContentModificationDate = 15:19:49 +0000 Here’s what I see when I use “mdls” on a photo sitting on my desktop: $ mdls IMG_1331.JPG
#Read 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. Ah, what a refreshing question! I’ve been writing shell scripts for so long that it’s burned into my brain.
