Exif: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Mobile edit Mobile web edit
GreenC bot (talk | contribs)
(80 intermediate revisions by 59 users not shown)
Line 1:
{{short description|Metadata standard in digital images}}
short description|Metadata standard in digital images Exchangeable image file format(officially Exif according to JEIDA/JEITA/CIPA specifications) is a standard that specifies the formats for images, sound, and ancillary tags used by digital cameras including smartphones, scanners and other systems handling image and sound files recorded by digital cameras. The specification uses the following existing file formats with the addition of specific metadata tags: JPEG discrete cosine transform (DCT)<ref>Citation |first1=N. |last1=Ahmed |author1-link=N. Ahmed |first2=T. |last2=Natarajan |first3=K. R. |last3=Rao |title=Discrete Cosine Transform |journal=IEEE Transactions on Computers |date=January 1974 |volume=C-23 |issue=1 |pages=90–93 |doi=10.1109/T-C.1974.223784}}</ref> for compressed image files, TIFF Rev. 6.0 (RGB or YCbCr) for uncompressed image files, and RIFF WAV for audio files (Linear PCM or ITU-T G.711 μ-Law PCM for uncompressed audio data, and IMA-ADPCM for compressed audio data). It is not used in JPEG 2000 or GIF.
{{About|a format for storing metadata in image and audio files|information about filename and directory structures of digital cameras|Design rule for Camera File system}}
{{Infobox file format
| screenshot = Epepeotes uncinatus @ Kanjirappally Exif 02.png
| caption = Exif of a file in [[Wikimedia Commons]] (compact form)
| extension = <code>.JPG</code>, <code>.TIF</code>, <code>.WAV</code>, <code>.PNG</code>,<ref name="Extensions to the PNG 1.2 Specification, Version 1.5.0">{{cite web |title=Extensions to the PNG 1.2 Specification, Version 1.5.0 |website=ftp-osl.osuosl.org |url=http://ftp-osl.osuosl.org/pub/libpng/documents/pngext-1.5.0.html#C.eXIf |access-date=4 March 2021}}</ref><code>.WEBP</code><ref name="The Metadata in WEBP (.webp) files">{{cite web |title= The Metadata in WEBP (.webp) files |website=dev.exiv2.org |url=https://dev.exiv2.org/projects/exiv2/wiki/The_Metadata_in_WEBP_files |access-date=16 Feb 2022}}</ref>
| owner = [[Japan Electronic Industries Development Association|JEIDA]], now [[Japan Electronics and Information Technology Industries Association|JEITA]], [[Camera & Imaging Products Association|CIPA]]
| released = {{start date and age|1995}}<ref>{{cite web |url=https://www.loc.gov/preservation/digital/formats/fdd/fdd000146.shtml |title=Exif Exchangeable Image File Format, Version 2.2,Sustainability of Digital Formats: Planning for Library of Congress Collections |website=[[Library of Congress]] |date=26 February 2014 |access-date=2020-08-18}}</ref>
| latest release version = 3.0<ref name="exif30-iptc" />
| latest release date = {{Start date and age|2023|05|df=yes}}<ref name="exif30-iptc" />
| extended from = [[TIFF]], [[JPEG]], [[WAV]]
| extended to = [[Design rule for Camera File system|DCF]]
| standard =
}}
 
'''Exchangeable image file format''' (officially '''Exif''', according to JEIDA/JEITA/CIPA specifications)<ref>{{Cite web |title=Exif2-1.PDF |url=http://www.exif.org/Exif2-1.PDF |url-status=dead |archive-url=https://web.archive.org/web/20131111073619/http://www.exif.org/Exif2-1.PDF |archive-date=2013-11-11 |format=PDF}}</ref> is a standard that specifies [[file format|formats]] for [[image]]s, [[sound]], and ancillary tags used by [[digital camera]]s (including [[smartphone]]s), [[Image scanner|scanners]] and other systems handling image and sound files recorded by digital cameras. The specification uses the following existing encoding formats with the addition of specific [[Metadata (computing)|metadata]] tags: [[JPEG]] lossy coding for compressed image files, [[TIFF]] Rev. 6.0 ([[RGB color model|RGB]] or [[YCbCr]]) for uncompressed image files, and [[Resource Interchange File Format|RIFF]] [[WAV]] for audio files (linear [[Pulse-code modulation|PCM]] or ITU-T [[G.711]] μ-law PCM for uncompressed audio data, and [[Interactive Multimedia Association|IMA]]-[[Adaptive differential pulse-code modulation|ADPCM]] for compressed audio data).<ref name="auto">{{cite web |url=http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf |title=Standard of the Camera & Imaging Products Association, CIPA DC-008-Translation-2012, Exchangeable image file format for digital still cameras: Exif Version 2.3 |access-date=2014-04-08 }}</ref> It does not support [[JPEG 2000]] or [[GIF]] encoded images.
 
This standard consists of the Exif image file specification and the Exif audio file specification.
 
=={{anchor|1.0|1.1|2.0|R98|2.1|2.2|2.21|2.3|3.0}}Background==
Exif is supported by almost all camera manufacturers.
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. [[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 document |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}}</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. The latest version 2.3 was released on 26 April 2010, and revised to 2.31 on 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]]. Exif is supported by almost all camera manufacturers.
 
The metadata tags defined in the Exif standard cover a broad spectrum:
* 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.
* Date and time information. Digital cameras will record the current date and time and save this in the metadata.
* Image metrics: Pixel dimensions, resolution, colorspace, and filesize
* 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.
* Date and time information., Digitaldigital cameras will record the current date and time and save this in the metadata.
* A [[thumbnail]] for previewing the picture on the camera's LCD screen, in file managers, or in photo manipulation software.
* Location information
* A [[thumbnail]] for previewing the picture on the camera's LCD screen, in file managers, or in photo manipulation software.
* Descriptions
* Copyright information.
 
==Version history==
 
{{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 documentweb |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. The latest versionVersion 2.3 was released on 26 April 2010, and revised to 2.31 onin 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]]. ExifThe islatest supportedversion, by3.0, almostwas allreleased camerain manufacturersMay 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 25 ⟶ 43:
|1.0
|October 1995
|Removed dependencies to io package
|
|-
|1.1
Line 33 ⟶ 51:
|2.0
|November 1997
|License change to MIT license
|
|-
|2.1
Line 41 ⟶ 59:
|2.2
|April 2002
|Added [[High Efficiency Image File Format|HEIC]] support
|
|-
|2.21
Line 67 ⟶ 85:
|
|-
|3.0
|May 2023
|UTF-8 data type
|}
 
==Technical==
The Exif tag structure is borrowed from TIFF files. On several image specific properties, there is a large overlap between the tags defined in the [[TaggedTag Image File Format|TIFF]], Exif, [[Tag Image File Format / Electronic Photography|TIFF/EP]], and [[Design rule for Camera File system|DCF]] standards. For descriptive metadata, there is an overlap between Exif, [[IPTC Information Interchange Model]] and [[Extensible Metadata Platform|XMP]] info, which also can be embedded in a JPEG file. [[Metadata Working Group|The Metadata Working Group]] has guidelines on mapping tags between these standards.<ref name="mwg_guidance"/>
 
When Exif is employed for [[JPEG]] files, the Exif data are stored in one of JPEG's defined utility ''Application Segments'', the APP1 (segment marker 0xFFE1), which in effect holds an entire TIFF file within. When Exif is employed in TIFF files (also when used as "an embedded TIFF file" mentioned earlier), the TIFF Private Tag 0x8769 defines a sub-Image File Directory (IFD) that holds the Exif specified TIFF Tags. In addition, Exif also defines a [[Global Positioning System]] sub-IFD using the TIFF Private Tag 0x8825, holding location information, and an "Interoperability IFD" specified within the Exif sub-IFD, using the Exif tag 0xA005.
Line 84 ⟶ 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 for Clibrary | access-date=20092022-1107-0806 }}</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 91 ⟶ 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 98 ⟶ 119:
* There is no way to record time-zone information along with the time, thus rendering the stored time ambiguous. However, time-zone information has been introduced recently by Exif version 2.31 (July 2016). Related tags are: "OffsetTime", "OffsetTimeOriginal" and "OffsetTimeDigitized".
* There is no standard field to record readouts of a camera's [[accelerometers]] or [[inertial navigation system]]. Such data could help to establish the relationship between the image sensor's XYZ coordinate system and the gravity [[Euclidean vector|vector]] (i.e., which way is down in this image). It could also establish relative camera positions or orientations in a sequence of photos. Some software records this information using the GPSImgDirection tag along with custom GPSPitch and GPSRoll tags.<ref>{{Cite web|url=https://www.sno.phy.queensu.ca/~phil/exiftool/geotag.html#Orient|title=Geotagging with ExifTool|website=www.sno.phy.queensu.ca|access-date=2019-10-06}}</ref>
* The XResolution and YResolution tags provide the number of pixels per length unit for the width and height of the image, respectively. (The length unit itself is specified by the tag ResolutionUnit.) By default, these tags in combination are set to 72 [[Pixel density|pixels per inch]] (ppi).<ref>{{cite web |url=https://www.cipa.jp/std/documents/e/DC-X008-Translation-2019-E.pdf |title=CIPA DC-008-Translation-2019 Exchangeable image file format for digital still cameras: Exif Version 2.32 |access-date=August 3, 2021}}</ref> These tags were inherited from the TIFF 6.0 standard and are required<ref>{{cite web |url=https://www.loc.gov/preservation/digital/formats/content/tiff_tags.shtml |author=<!--Not stated--> |title=TIFF Tags |website=[[Library of Congress]] |access-date=August 3, 2021}}</ref> even though for images produced by digital cameras, image resolution values such as ppi are meaningless.<ref>{{cite web |url=http://www.dpiphoto.eu/dpi.htm |title=Dpi, misunderstandings and explanation, what is dpi |last=Weistra |first=Riny |access-date=August 3, 2021}}</ref>
* The [[Dots per inch|DPI]] value is intended to store the dots-per-inch setting of the scanner used to produce the file. For camera photos the value is meaningless, but {{cnspan|text=it is still required|date=December 2015|reason=}}. The format has not been revised to remove this requirement.<ref>[http://www.dpiphoto.eu/dpi.htm Dpi, misunderstandings and explanation, what is dpi]</ref>
 
===Privacy and security===
Line 104 ⟶ 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 |archive-date=6 December 2012 |archive-url=https://web.archive.org/web/20121206022734/http://thenextweb.com/insider/2012/12/03/vice-leaves-metadata-in-photo-of-john-mcafee-pinpointing-him-to-a-location-in-guatemala/2012/ |url-status=dead }}</ref> The photo's metadata included GPS coordinates locating McAfee in Guatemala, and he was captured two days later.<ref>{{Citation |url=httphttps://www.cbsnews.com/8301-202_162-57557443news/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 EXIFExif 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>
 
The privacy problem of Exif data can be avoided by removing the Exif data using a [[metadata removal tool]].<ref>Hassan, Nihad, and Hijazi, Rami. [https://books.google.com/books?id=U-AqDwAAQBAJ&lpg=PA58&ots=4B1eKQe1p3&dq=exif%20romoval&pg=PA57#v=onepage&q&f=false Digital Privacy and Security Using Windows: A Practical Guide]. Apress, 2017, pp. 57-59.</ref>
 
==Related standards==
Line 116 ⟶ 137:
[[Extensible Metadata Platform]] (XMP) is an [[List of International Organization for Standardization standards|ISO standard]], originally created by [[ADBE|Adobe Systems Inc.]], for the creation, processing and interchange of standardized and custom metadata for digital documents and data sets. [[IPTC Information Interchange Model|IPTC]] was developed in the early 1990s by the [[International Press Telecommunications Council]] (IPTC) to expedite the international exchange of news among newspapers and news agencies.
 
==ExampleExif Fields==
Not all devices use every available metadata field in the Exif standard.
 
===Example===
[[File:DigiKam EXIF information screenshot.png|thumb|right|[[DigiKam]] screenshot showing Exif data]]
The following table shows Exif datametadata 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 132 ⟶ 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
Line 218 ⟶ 242:
|(null)
|}
 
===Time Tags===
In addition to the basic date and time tags (<code>DateTime</code>, <code>DateTimeOriginal</code>, and <code>DateTimeDigitized</code>), there are three corresponding "subsecond" tags: <code>SubsecTime</code>, <code>SubsecTimeOriginal</code>, and <code>SubsecTimeDigitized</code>. The <code>SubsecTime</code> tag is defined in version 2.3 as "a tag used to record fractions of seconds for the DateTime tag;"<ref name="auto"/> the <code>SubsecTimeOriginal</code> and <code>SubsecTimeDigitized</code> fields are defined similarly. The subsecond tags are of variable length, meaning manufacturers may choose the number of ASCII-encoded decimal digits to place in these tags. For <code>DateTime = 2000:01:01 00:00:00</code>, the actual time with various subsecond values would be:
* <code>SubsecTime = 2</code>: <code>2000:01:01 00:00:00.2</code>
* <code>SubsecTime = 23</code>: <code>2000:01:01 00:00:00.23</code>
* <code>SubsecTime = 234</code>: <code>2000:01:01 00:00:00.234</code>
* <code>SubsecTime = 2345</code>: <code>2000:01:01 00:00:00.2345</code>
The standard does not specify which particular event during the "taking" of a picture the time tags should describe. The standard is, in fact, ambiguous. The <code>DateTimeOriginal</code> tag is defined as "The date and time when the original image data was generated." For an exposure—say, 30 seconds—longer than the granularity of the timestamp (one second for the <code>DateTimeOriginal</code> tag), the tag's time could correspond to the beginning of the exposure, the end of the exposure, or some other time. This confusion is exacerbated for the subsecond tags, where the granularity (down to 1/10000th of a second in the examples in the standard) is shorter than many common exposure durations.
 
As noted above, tags to specify the previously-missing timezone information were added in Exif version 2.31. These are "OffsetTime", "OffsetTimeOriginal" and "OffsetTimeDigitized". They are formatted as seven ASCII characters (including the null terminator) denoting the hours and minutes of the offset, like <code>+01:00</code> or <code>-01:00</code>. The offset is "from UTC (the time difference from Universal Coordinated Time including daylight saving time) of the time of"<ref name="auto"/> the matching tag.
 
==FlashPix extensions==
Line 316 ⟶ 350:
The proprietary formats used by many manufacturers break if the MakerNote tag data is moved (i.e. by inserting or editing a tag that precedes it). The reason to edit to the Exif data could be as simple as to add copyright information, an Exif comment, etc. There are two solutions for this problem:
 
* When the EXIFExif data is saved, the MakerNote data is stored at the same place as before.
* A special offset tag is added. This tag contains the information by how many bytes the MakerNote data was moved in comparison to the original index.
 
Microsoft has implemented the last solution in Windows 10: In the Windows explorer you can change the EXIFExif data of an image file by the properties window. Here the tab sheet "Details" contains some EXIFExif data like title, subject, comments etc. and these EXIFExif data can also be changed and stored. When the image file is saved the tag "OffsetSchema" (tag ID = 0xea1d) is added and this tag contains a signed 32 bit number. With this number the original index of "MakerNote" can be restored:
 
Original index of "MakerNote" = Current index of "MakerNote" - Value of tag "OffsetSchema"
 
But the tag "OffsetSchema" was defined by Microsoft and it is not part of the official EXIFExif standard.
 
In some cases, camera vendors also store important information only in proprietary makernote fields, instead of using available Exif standard tags. An example for this is Nikon's ISO speed settings tag.<ref>{{cite web | first=Andreas | last=Huggel | title=Makernote formats and specifications | url=http://www.exiv2.org/makernote.html | date=2012-04-25 | access-date=2012-09-09}}</ref>
 
==See also==
* [[APEX system]]
* [[Additive System of Photographic Exposure]] (APEX)
* [[Comparison of image viewers]] (Exif view/edit functions)
* [[Comparison of metadata editors]]
* [[Design rule for Camera File system]] (DCF)
* [[Digital photography]]
* [[eXtensible Metadata Platform]] (XMP)
* [[GeocodedGeotagged photophotograph]]
* [[Image file formatsformat]]
* [[IPTC Information Interchange Model]]
* [[JPEG File Interchange Format]]
* [[Metadata Working Group]]
* [[Tag Image File Format / Electronic Photography]] (TIFF/EP)
Line 347 ⟶ 381:
{{Commons category|Exif}}
 
* [httphttps://cipa.jp/e/std/std-sec_esec.html CIPA Standards - Camera & Imaging Products Association]
* [httphttps://www.cipa.jp/std/documents/download_e.html?DC-008-Translation-20192023-E Exif standard version 23.32 *New0]
* [https://www.cipa.jp/std/documents/e/DC-X008-Translation-2019-E.pdf Exif standard version 2.32]
* [http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf Exif standard version 2.3]
* Exif standard version 2.2 as [http://www.digicamsoft.com/exif22/exif22/html/exif22_1.htm HTMLExif standard version 2.2]
* [https://www.loc.gov/preservation/digital/formats/fdd/fdd000146.shtml Exif Exchangeable Image File Format, Version 2.2]
* [https://web.archive.org/web/20131111073619/http://www.exif.org/Exif2-1.PDF Exif standard version 2.1]
* [http://www.awaresystems.be/imaging/tiff/tifftags/privateifd/exif.html Exif in the TIFF Tag Directory] {{Webarchive|url=https://web.archive.org/web/20171011194110/https://www.awaresystems.be/imaging/tiff/tifftags/privateifd/exif.html |date=2017-10-11 }}
* [https://web.archive.org/web/20171124134612/http://www.metadataworkinggroup.org/ Metadata working group]
* [http://www.exiv2.org/metadata.html List of Exif tags including MakerNote tags]