Image Exif Editor 5 0 0 3
adminApril 25 2021
Image Exif Editor 5 0 0 3
It's unsafe for TIFF Files because the image can be unreadable! These tags will work with:.JPEG /.JPG.PNG.TIFF.GIF.MP4.MOV.3G2 / 3GP2.3GP / 3GPP.
- 0 42 1 0 2 0 3 0 4 1 5 0 6 0 7 0 8 50 9 0 10 0 11 0 12 1 13 0 14 0 15 0 16 13 17 2 18 0 19 0 20 100 21 0 22 0 23 0 somehow, I should get 5.25 seconds (I would suspect 525 in slot 16 of the array, but it returned 13 in 16 and 2 in 17.
- Opanda IExif 2.3 for Firefox Extension: Firefox 0.7 - 3.0+ Win98 / Me / 2000 / XP / 2003 / Vista: Install IExif for Firefox Now (Be sure that you have been installed Mozilla Firefox browser and Opanda IExif before installing the Firefox extension.).
XMP Sidecar Files
ExifTool XML Files
EXIF Files
MIE Files
EXV Files
ExifTool XML Files
EXIF Files
MIE Files
EXV Files
Metadata for images and other file types may be stored in a separate metadatafile. These are the only files that exiftool can create from scratch. A commonexample of this is the XMP 'sidecar' file (which is discussed in the nextsection in some detail). Other supported metadata file types are EXIF, MIE,EXV, ICC and VRD. As well, ExifTool supports XML-format output, which can alsobe used to generate metadata sidecar files.
XMP Sidecar Files
There are a number of different ways to generate an XMP sidecar file withexiftool, and the method you choose depends on your circumstances andpreferences. Below are a number of example commands which write an output XMPfile from information in a source file of any type.
1. Copy same-named tags from all information types to preferred locations in XMP:
(SRC.EXT
is the source file name andextension, and DST
is the destination file name)
2. Rewrite source file to destination XMP file:
(same effect as above, but the command will exit with an error if the output XMP file already exists)
3. Copy XMP, preserving original locations:
(ie. copies XMP tags only to the same namespaces in the destination file)
Advanced: Notice that -all:all
is used above instead of-xmp:all
even though only XMP tags will be copied (since the destinationis an XMP file). This is because -all:all
preserves the family 1 group(ie. XMP namespace) while -xmp:all
would copy tags to the preferred XMPnamespace, which may be different for XMP tags that exist in multiple namespaces.To get the best of both worlds, '-all:all<xmp:all'
may be used toavoid the inefficiencies of assigning tags which aren't copied, while stillpreserving the family 1 group.
4. Rewrite source to XMP file, preserving locations:
(same effect as above, but the command will fail if the XMP file already exists)
5. Generate XMP from EXIF and IPTC using standard tag name mappings:
(the .args
files are available in the full ExifTool distribution)
6. Copy XMP as a block to an XMP file:
(writing as a block is the only way to transfer unknown or non-writable XMP tags)
Note that this will not deal with extended XMP segments in JPEGimages if they exist.
7. Extract XMP as a block and write to output XMP file: (same effect as above)
As with the previous command, this command will not copy extended XMPsegments in JPEG images, but in this case the -a
option may beadded to also extract extended XMP blocks. However, the result would be anon-standard XMP file that ExifTool could read but other utilities may not.
8. Extract XMP as a block to an output text file with .xmp extension:
(same effect as above, but the destination file name will be the sameas the source file, and this command will fail if the XMP file exists while theprevious command will overwrite an existing file)
The advantage of this command is that it may be applied to multiplesource files or entire directories.
9. Restore all XMP tags from an XMP sidecar file to XMP in a JPG image:
10. Restore XMP as a block from an XMP sidecar file to a JPG image:
(same effect as above except that any non-writable XMP tags would becopied by this command, and the 2 kB of padding recommended by the XMPspecification is not added when copying as a block)
or equivalently
Batch Processing
Multiple files may be processed in a single command by specifying multiplefile and/or directory names on the command line. The examples below demonstratehow to process all files with a specific extension in an entire directory tree.
11. Create XMP sidecar files for all files with extension EXT in adirectory tree:
(when batch-generating sidecar files from many images, the -o
form of the command is easier to use, but can not be used to modifyexisting XMP files)
where DIR
is the name of the directory containingthe images. The -r
option causes sub-directories to be recursivelyprocessed. Multiple -ext
options may be used to process differentfile types in a single command. With this command, same-named tags from any typeof metadata will be written to the preferred XMP namespace in the output XMPfile. To copy only XMP tags, -xmp:all
may be added to the command.(See example 14 for more about this.)
12. Copy tags to sidecar files that already exist:
(same as above, but copies only to existing XMP files)
This command will add tags from the source files to information thatalready exists in the XMP files, but note that this command searches for the XMPfiles instead of the image files, so it will not generate new XMP sidecar filesif some images don't have them. For this, the advanced (ie. tricky andconfusing to use) -srcfile
option comes in handy:
13. Copy tags to sidecar files, generating new files if necessary:
(same as above, but also creates new XMP files if they don't exist)
Note that as with the previous two commands, this command willcommute metadata from other groups to the preferred location in XMP.
14. Copy only XMP tags to the same namespace in sidecar files:
(same as above, but copies only XMP and preserves specific tag locations)
In this command, if '-xmp:all
' was used instead of'-all:all<xmp:all'
, then all XMP tags would have been copied totheir preferred namespaces in the sidecar file. But by writing to thedestination group of 'all
', the specific location (ie. XMPnamespace) of each tag is preserved.
15. Copy XMP from sidecar files back to the same locations in the source files:
(the inverse of the previous command)
Here,-all:all
copies all metadata (in this case only XMP, since thesidecar XMP file contains no other types) to the same specific locations in thetarget files (extension EXT
).
16. Write a tag to XMP sidecar if it exists, or the original file otherwise:
When multiple -srcfile
options are used, the firstexisting file is processed. If none of the specified source files exists, thenthe first one in the list is created (however, this won't happen with thisexample since one of the specified source files is '@
', whichrepresents the original file name).
17. Create XMP sidecar file in another directory:
By specifying a directory name instead of %d
, thiscommand writes XMP files to DSTDIR
instead of the originalsource directory. The same technique may be used in any of the above commands towrite XMP to a sidecar file in a different directory.
Via the API
By specifying different tags in theSetNewValuesFromFilecall, the above examples numbered 1-6 are programmed like this:
and examples 7 and 8 use this general technique:
ExifTool XML Files
Closely related to the XMP sidecar file is the XML file written using theexiftool -X
option. This file is RDF/XML format like XMP, but usesexiftool-specific namespaces to give an exact mapping for all exiftool tagnames. This type of file is better suited to general informationstorage/recovery since it facilitates copying of more original metadata than anXMP file, but it doesn't have the portability of an XMP file or the ability tostore native-format data like a MIE or EXV file, and ExifTool can not be used toedit XML files as it can with other metadata files. Below are example commandsdemonstrating the use of exiftool XML files.
Create an exiftool XML sidecar file:
Restore original meta information from exiftool XML file:
The -X
option also supports extracting binary data when-b
is added. For example, the above command may be modified toalso store the binary MakerNotes block like this:
Note that we needed to add -makernotes
because it isn'textracted as a block unless requested, and since we specified a tag to extractwe also needed to add -all
to continue extracting other tags aswell. Restoring the original metadata from this file is the same as in theprevious example.
Via the API
There is no way to automatically produce a sidecar exiftool XML file via theAPI since this function is accomplished with an output formatting option of theexiftool application. However, the the API may be used to read and copy tagsfrom an exiftool XML file just like any other file format. When readingExifTool XML files, all tags except those in the ExifTool
,File
and Composite
groups are extracted with theiroriginal family 1 groups to facilitate copying of these tags back into theiroriginal locations in an image.
EXIF Files
EXIF files store EXIF information in the same TIFF-based format as the EXIFAPP1 segment of a JPEG image, but without the 'Exif00' header. The threecommands below illustrate techniques for copying the entire EXIF block from asource image (SRCFILE
) to an output EXIF file(out.exif
):
The Extra EXIF tag used in each of theabove commands (the '-exif
' argument) represents the EXIF metadatain the form of a binary data block. JPEG, PNG, JP2, MIE and MIFF files allsupport storage of EXIF data blocks in this format, although exiftool does notcurrently write MIFF images.
Tags may also be copied individually to and from an EXIF file, but rememberthat this will not copy 'unsafe' tags unless they are specified explicitly. Thefollowing command creates an EXIF file from the metadata in a source file:
This technique works for any type of source file, provided the file containsat least one tag with the same name as an EXIF tag. Below is an example of howto apply this to all files in a directory:
MIE Files
The MIE file format allows storage ofnative binary meta information, and is the best option for saving metadata froma file in its original format. Here are two examples that copy all individualtags plus the ICC Profile to a MIE sidecar file:
And the following command performs the inverse operation, restoring metadatain a JPG image from a MIE file:
Information can also be copied in block form to a MIE file. This allowspreservation of the original data structure as well as unknown and non-writabletags. The command below copies the full EXIF segment as a block from a JPEGimage,
which is functionally different from copying all writable EXIF tagsindividually with a command more like this
Block-writable tags are listed in theExtra Tags documentation.
MIE files also have the ability to store information in compressed format withthe -z
option (provided Compress::Zlib is installed on your system),which may be useful if disk space is at a premium.
Image Exif Editor
EXV Files
EXV files are used by Exiv2, and arebasically a JPEG file without the image data, so they may be used as a metadatafile to contain any information supported by the JPEG format (EXIF, XMP, IPTC,etc.). ExifTool has full read, write and create support for this format.
Created Nov 12, 2008Image Exif Editor 5 0 0 30
Last revised July 31, 2019Image Exif Editor 5 0 0 3