Exif: Difference between revisions

Content deleted Content added
Inson1 (talk | contribs)
m Dots werent everywhere, so now there arent any
(18 intermediate revisions by 15 users not shown)
Line 24:
* Camera settings: This includes static information such as the camera model and make, and information that varies with each image such as orientation (rotation), [[aperture]], [[shutter speed]], [[focal length]], [[metering mode]], and [[ISO speed]] information
* Image metrics: Pixel dimensions, resolution, colorspace, and filesize
* Date and time information, digital cameras will record the current date and time and save this in the metadata
* Location information
* A [[thumbnail]] for previewing the picture on the camera's LCD screen, in file managers, or in photo manipulation software
Line 33:
 
{{Expand section|with=changes|date=August 2020}}
The [[Japan Electronic Industries Development Association]] (JEIDA) produced the initial definition of Exif. Version 2.1 of the specification is dated 12<!-- To be checked: 1 or 12? --> June 1998.{{cn|date=February 2024}} [[Japan Electronics and Information Technology Industries Association|JEITA]] established Exif version 2.2 (a.k.a. "'''Exif Print'''"), dated 20 February 2002 and released in April 2002.<ref>{{cite web |author=Technical Standardization Committee on AV & IT Storage Systems and Equipment |title=Exchangeable Image File Format for Digital Still Cameras |id=JEITA CP-3451 |version=Version 2.2 |publisher=[[Japan Electronics and Information Technology Industries Association]] |url=http://www.exif.org/Exif2-2.PDF |date=April 2002 |access-date=2008-01-28 |archive-date=2017-12-24 |archive-url=https://web.archive.org/web/20171224163311/http://exif.org/Exif2-2.PDF |url-status=dead }}</ref> Version 2.21 (with [[Adobe RGB]] support) is dated 11 July 2003, but was released in September 2003 following the release of DCF 2.0. Version 2.3 was released on 26 April 2010, and revised to 2.31 in July 2013 and revised to 2.32 on 17 May 2019, was jointly formulated by [[Japan Electronics and Information Technology Industries Association|JEITA]] and [[Camera & Imaging Products Association|CIPA]]. The latest version, 3.0, was released in May 2023, and brings, among other things, support for UTF-8 to allow text data in non-ASCII encoding.<ref name="exif30-iptc">{{cite web|url=https://iptc.org/news/exif-3-0-released-featuring-utf-8-support/ |website=IPTC |title=Exif 3.0 released, featuring UTF-8 support |date=1 June 2023}}</ref>
 
{| class="wikitable"
Line 43:
|1.0
|October 1995
|Removed dependencies to io package
|
|-
|1.1
Line 51:
|2.0
|November 1997
|License change to MIT license
|
|-
|2.1
Line 59:
|2.2
|April 2002
|Added [[High Efficiency Image File Format|HEIC]] support
|
|-
|2.21
Line 105:
Exif data are embedded within the image file itself. While many recent [[Graphics software|image manipulation programs]] recognize and preserve Exif data when writing to a modified image, this is not the case for most older programs. Many image gallery programs also recognise Exif data and optionally display it alongside the images.
 
Software libraries, such as libexif<ref>{{cite web | url=https://libexif.github.io/ | title=The libexif C EXIF library | access-date=2022-07-06 }}</ref> for [[C (programming language)|C]] and Adobe XMP Toolkit<ref>{{cite web | url=https://www.adobe.com/devnet/xmp.html | title=Adobe XMP Toolkit SDK | publisher= Adobe Inc. }}</ref> or Exiv2<ref>{{cite web | url=http://www.exiv2.org/ | title=Exiv2 Image Metadata Library | publisher=Andreas Huggel | access-date=2009-02-12 | archive-date=2012-02-12 | archive-url=https://web.archive.org/web/20120212032622/http://www.exiv2.org/ | url-status=dead }}</ref> for [[C++]], Metadata Extractor<ref>{{cite web | url=http://www.drewnoakes.com/code/exif/ | title=Metadata Extractor | publisher=Drew Noakes | access-date=2011-02-18 | archive-date=2007-09-27 | archive-url=https://web.archive.org/web/20070927201245/http://www.drewnoakes.com/code/exif/ | url-status=dead }}</ref> for [[Java (programming language)|Java]], [[Python Imaging Library|PIL/Pillow]] for [[Python (programming language)|Python]], [[LEADTOOLS]] or [[ExifTool]]<ref>{{cite web | url=http://owl.phy.queensu.ca/~phil/exiftool/ | title=Image::ExifTool Perl library | publisher=Phil Harvey | access-date=2009-02-12}}</ref> for [[Perl]], parse Exif data from files and read/write Exif tag values.
 
==Problems==
Line 112:
The Exif format has a number of drawbacks, mostly relating to its use of legacy file structures.
 
* The derivation of Exif from the TIFF file structure using offset pointers in the files means that data can be spread anywhere within a file, which means that software is likely to corrupt any pointers or corresponding data that it doesn'tdoes not decode/encode. For this reason most image editors damage or remove the Exif metadata to some extent upon saving.<ref>{{cite web | title=TIFF Revision 6.0 | url=http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf | publisher=Adobe | date=1992-06-03 | access-date=2009-04-07 | url-status=dead | archive-url=https://web.archive.org/web/20120703095221/http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf | archive-date=2012-07-03 }}</ref>
* The standard defines a MakerNote tag, which allows camera manufacturers to place any custom format metadata in the file. This is used increasingly by camera manufacturers to store camera settings not listed in the Exif standard, such as shooting modes, post-processing settings, serial number, focusing modes, etc. As the tag contents are proprietary and manufacturer-specific, it can be difficult to retrieve this information from an image or to properly preserve it when rewriting an image. Manufacturers can encrypt portions of the information; for example, some Nikon cameras encrypt the detailed lens data in the MakerNote data.<ref>{{cite web | title=Nikon Tags: Nikon LensData01 Tags | url=http://owl.phy.queensu.ca/~phil/exiftool/TagNames/Nikon.html#LensData01 | publisher=Phil Harvey | date=2008-01-25 | access-date=2008-01-28}}</ref>
* Exif is very often used in images created by scanners, but the standard makes no provisions for any scanner-specific information.{{citation needed|date=November 2014}}
Line 125:
Since the Exif tag contains metadata about the photo, it can pose a privacy problem. For example, a photo taken with a [[GPS]]-enabled camera can reveal the exact location and time it was taken, and the unique ID number of the device - this is all done by default - often without the user's knowledge. Many users may be unaware that their photos are tagged by default in this manner, or that specialist software may be required to remove the Exif tag before publishing. For example, a [[whistleblower]], journalist or [[political dissident]] relying on the protection of anonymity to allow them to report [[Misfeasance|malfeasance]] by a corporate entity, criminal, or government may therefore find their safety compromised by this default data collection.
 
In December 2012, anti-virus businessman [[John McAfee]] was arrested in [[Guatemala]] while fleeing from alleged persecution<ref>{{cite web|url=http://www.cnn.com/2012/12/07/world/americas/guatemala-mcafee-asylum-rejected/index.html |title=McAfee wins stay of deportation from Guatemala |date=7 December 2012 |publisher=Cnn.comCNN |access-date=2012-12-26}}</ref> in neighboring [[Belize]]. ''[[Vice (magazine)|Vice]]'' magazine had published an exclusive interview on their website with McAfee "on the run"<ref>{{Citation |url=https://www.vice.com/read/we-are-with-john-mcafee-right-now-suckers |title=We Are with John McAfee Right Now, Suckers |publisher=[[Vice (magazine)|Vice]] |date=December 3, 2012 |access-date=7 December 2012}}</ref> that included a photo of McAfee with a ''Vice'' reporter taken with a phone that had geotagged the image.<ref>{{Citation |url=https://thenextweb.com/insider/2012/12/03/vice-leaves-metadata-in-photo-of-john-mcafee-pinpointing-him-to-a-location-in-guatemala/2012/ |title=Vice leaves metadata in photo of John McAfee, pinpointing him to a location in Guatemala |publisher=The Next Web |author=Alex Wilhelm|date=December 3, 2012 |access-date=7 December 2012}}</ref> The photo's metadata included GPS coordinates locating McAfee in Guatemala, and he was captured two days later.<ref>{{Citation |url=http://www.cbsnews.com/8301-202_162-57557443/john-mcafee-arrested-in-guatemala-for-illegal-entry/ |title=John McAfee arrested in Guatemala for illegal entry |work=[[CBS News]] |date=December 5, 2012 |access-date=7 December 2012}}</ref> McAfee later claimed to have edited the Exif data from his phone to provide a false location.<ref>{{cite web|url=https://thenextweb.com/insider/2012/12/03/it-gets-stranger-now-mcafee-claims-that-he-falsely-edited-the-metadata-on-the-photo-that-placed-him-in-guatemala/|title=In fresh twist, John McAfee now claims he falsified the metadata of the photo that placed him in Guatemala|author=Alex Wilhelm|date=3 December 2012|publisher=The Next Web|access-date=5 November 2018}}</ref>
 
According to documents leaked by [[Edward Snowden]], the [[NSA]] is targeting Exif information under the [[XKeyscore]] program.<ref name =Guardian2>{{cite news| author = Staff | title=XKeyscore Presentation from 2008 – Read in Full – Training Materials for the XKeyscore Program Detail How Analysts Can Use It and Other Systems to Mine Enormous Agency Databases and Develop Intelligence from the Web – Revealed: NSA Program That Collects 'Nearly Everything a User Does on the Internet'|url=https://www.theguardian.com/world/interactive/2013/jul/31/nsa-xkeyscore-program-full-presentation|access-date= August 6, 2013|newspaper= [[The Guardian]] |date= July 31, 2013}}</ref>
Line 142:
===Example===
[[File:DigiKam EXIF information screenshot.png|thumb|right|[[DigiKam]] screenshot showing Exif data]]
The following table shows Exif metadata for a photo made with a typical digital camera. Notice that authorshipAuthorship and copyright information is generally not provided in the camera's output, so it must be filled in during later stages of processing. Some programs, such as Canon's [[Digital Photo Professional]], allow the name of the owner to be added to the camera itself.
 
{| class="wikitable" style="margin:auto;"
Line 156:
|-
|Orientation (rotation)
|top-left [8 possible values<ref>{{cite web |url=httphttps://www.impulseadventure.com/photo/exif-orientation.html |title=JPEG Rotation and EXIF Orientation / Digital Cameras with Orientation Sensors etc |publisher=Impulseadventure.com |access-date=2012-12-26 |archive-date=2022-03-07 |archive-url=https://web.archive.org/web/20220307162505/https://www.impulseadventure.com/photo/exif-orientation.html |url-status=bot: unknown }}</ref>]
|-
|Software