-# SYNOPSIS
-**exiv2** [ *option* [ *arg* ] ]+ [ *action* ] *file* ...
+# 1 SYNOPSIS
+**exiv2** [ **option** [ *arg* ] ]+ [ *action* ] *file* ...
-# DESCRIPTION
+# 2 DESCRIPTION
**exiv2** is a program to read and write image metadata, including
Exif, IPTC, XMP, image comments, ICC Profile, thumbnails, image
previews and many vendor makernote tags. The program optionally
@@ -27,58 +27,62 @@ guidelines.
### TABLE OF CONTENTS
1. [SYNOPSIS](#synopsis)
2. [DESCRIPTION](#description)
-1. [FILE TYPES](#file_types)
-2. [ACTIONS](#actions)
-3. [COMMAND SUMMARY](#cmd_summary)
-4. [OPTIONS](#options)
-5. ['MODIFY' COMMANDS](#modify_cmds)
- 1. [Quotations with 'modify' commands](#quotes_modify)
- 2. ['Modify' command format](#mod_cmd_format)
- 3. ['Modify' examples](#mod_examples)
- 3. ['Modify' command file](#modify_cmd_file)
-6. [EXIV2 GROUPS, TYPES AND VALUES](#groups_types_values)
- 1. [Exiv2 tags](#exiv2_tags)
- 2. [Exif/IPTC/XMP types](#exiv2_types)
- 3. [Exiv2 key syntax](#exiv2_key_syntax)
+3. [FILE TYPES](#file_types)
+4. [ACTIONS](#actions)
+5. [COMMAND SUMMARY](#cmd_summary)
+6. [OPTIONS](#options)
+7. [EXIV2 GROUPS, TYPES AND VALUES](#groups_types_values)
+ 1. [Exiv2 key syntax](#exiv2_key_syntax)
+ 2. [Exiv2 tags](#exiv2_tags)
+ 3. [Exif/IPTC/XMP types](#exiv2_types)
4. [Multiple elements](#multi_elements)
- 5. [Duplicate Exif tags](#multi_exif_tags)
+ 5. [Duplicate tags](#multi_tags)
6. [Date/Time formats](#date_time_fmts)
7. [Exif 'Comment' values](#exif_comment_values)
8. [XMP namespaces](#xmp_namespaces)
9. [XMP LangAlt values](#langalt_values)
10. [XMP structs](#xmp_structs)
-7. [CONFIGURATION FILE](#config_file)
-8. [EXAMPLES](#examples)
-9. [ENVIRONMENT](#environment)
-10. [NOTES](#notes)
-11. [BUGS](#bugs)
-12. [COPYRIGHT](#copyright)
-13. [SEE ALSO](#see_also)
-14. [AUTHORS](#authors)
+8. [PREVIEW IMAGES AND THUMBNAILS](#preview_images)
+9. [ICC PROFILES](#icc_profiles)
+10. [IMAGE COMMENTS](#image_comments)
+11. ['MODIFY' COMMANDS](#modify_cmds)
+ 1. [Quotations with 'modify' commands](#quotes_modify)
+ 2. ['Modify' command format](#mod_cmd_format)
+ 3. [Modifying a value](#mod_value)
+ 4. ['Modify' examples](#mod_examples)
+ 5. ['Modify' command file](#mod_cmd_file)
+12. [CONFIGURATION FILE](#config_file)
+13. [EXAMPLES](#examples)
+14. [ENVIRONMENT](#environment)
+15. [NOTES](#notes)
+16. [BUGS](#bugs)
+17. [COPYRIGHT](#copyright)
+18. [AUTHORS](#authors)
+19. [SEE ALSO](#see_also)
-# FILE TYPES
+# 3 FILE TYPES
The following image formats and metadata categories are supported:
Type | Exif | IPTC | XMP | Image Comments | ICC Profile | Thumbnail
|:---|:---- |:---- |:---- |:---- |:---- |:----
-ARW | Read | Read | Read | - | - | Read
+ARW | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
AVIF | Read | Read | Read | - | - | Read
BMP | - | - | - | - | - | -
CR2 | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
-CR3 | Read | Read | Read | - | - | -
+CR3 | Read | Read | Read | - | - | Read
CRW | Read/Write | - | - | Read/Write | - | Read/Write
DNG | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
EPS | - | - | Read/Write | | - | -
EXV | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write
GIF | - | - | - | - | - | -
-HEIC | Read | Read | Read | - | - | -
-HEIF | Read | Read | Read | - | - | -
+HEIC | Read | Read | Read | - | - | Read
+HEIF | Read | Read | Read | - | - | Read
JP2 | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
JPEG | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write
-JXL | Read | Read | Read | - | - | -
+JXL | Read | Read | Read | - | - | Read
MRW | Read | Read | Read | - | - | Read
NEF | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
ORF | Read/Write | Read/Write | Read/Write | - | - | Read/Write
@@ -105,49 +109,49 @@ the table, may also work.
+ Some image formats allow an extra interal type of metadata. Only
partial support exists for the RAF format.
-+ Support for BMFF types such as CR3, HEIF and HEIC is a build option. To
-check if enabled, use `exiv2 --version --verbose --grep bmff` and see if
-`enable_bmff=1`.
++ Support for BMFF types such as AVIF, CR3, HEIF and HEIC is a build
+option. To check if this is enabled, use `exiv2 --version --verbose --grep bmff`
+and see if `enable_bmff=1`.
+ Naked codestream JXL files do not contain Exif, IPTC or XMP metadata.
-+ The thumbnail, if available, is included in the list of image previews.
-
+
[TOC](#TOC)
-# ACTIONS
+# 4 ACTIONS
The *action* argument is only required if it is not clear from the
*options* which action is implied.
### pr | print
-Print image metadata. This is the default action, i.e., the command
-`exiv2 image.jpg` will print a summary of the image Exif metadata.
+Print image metadata, the default is [--print s](#print_mod). This is also
+the default action (i.e., `exiv2 image.jpg`).