This has the same effect as the -n option, but for a single tag. See the -n option in the application documentation for more details. Note: Changes to PDF files are reversible because the original metadata is never actually deleted from these files. See the PDF Tags documentation for details. If a group name is not specified when writing information, then the information is added only to the highest priority group for which the tag name is valid however, the information is updated in all groups where the tag already existed. The priority of the groups is given by the list above.
|Published (Last):||20 March 2010|
|PDF File Size:||16.23 Mb|
|ePub File Size:||9.27 Mb|
|Price:||Free* [*Free Regsitration Required]|
This has the same effect as the -n option, but for a single tag. See the -n option in the application documentation for more details. Note: Changes to PDF files are reversible because the original metadata is never actually deleted from these files.
See the PDF Tags documentation for details. If a group name is not specified when writing information, then the information is added only to the highest priority group for which the tag name is valid however, the information is updated in all groups where the tag already existed.
The priority of the groups is given by the list above. Alternatively, information may be written to a specific group only, bypassing these priorities, by providing a group name for the tag. The " Writing Meta Information " section above gave the syntax rules for exiftool command-line arguments to do this. Any family 0, 1 or 2 group name may be used when writing information, although not all groups are writable.
Any tags specified after this option on the command line are extracted from source file and written to the destination file. If no tags are specified, then all writable tags are copied. This option is very simple, yet very powerful. This option may also be used to transfer information between different tags within a single image or between different images. See the -tagsFromFile option in the application documentation for more details.
Writer Limitations ExifTool will not rewrite a file if it detects a significant problem with the file format. ExifTool has been tested with a wide range of different images, but since it is not possible to test it with every known image type, there is the possibility that it will corrupt some files.
Be sure to keep backups of your files. Even though ExifTool does some validation of the information written, it is still possible to write illegal values which may cause problems when reading the images with other software. So take care to validate the information you are writing. ExifTool is not guaranteed to remove metadata completely from a file when attempting to delete all metadata. PDF - The original metadata is never actually removed. RAW formats - It is not recommended to remove all metadata from RAW images because this will likely remove some proprietary information that is necessary for proper rendering of the image.
This is perhaps due to some unreferenced preview information in the file that is lost when edited by ExifTool, but this does not seem to have any other effect.
Presumably this is due to the way the ExifTool package for Windows works -- it unpacks executable files into a temporary directory and runs from there, which apparently may be seen as a threat by antivirus software. A work-around is to add ExifTool to the exclusion list of the antivirus software. ExifTool Other software such as the Pentax Silkypix software and dcraw have no problems with these images. This may be a security problem if ExifTool is executed from another application that blindly passes untrusted file names on the command line since they may be interpreted as ExifTool options if they begin with a dash.
One way to accomplish this is to prefix input file names with a known directory name, eg. ExifTool has a time shift feature that makes it easy to apply a batch fix to the timestamps of the images eg. Then all of the pictures you took subsequently have timestamps that are wrong by 5 years, 10 months, 2 days, 10 hours and 48 minutes. For convenience, a Shortcut tag called AllDates has been defined to represent these three tags.
It has also been observed that the loading time of ExifTool for Windows increases significantly when Windows Defender is active. Disabling Windows Defender may speed things up significantly. The processing speed of ExifTool can be improved when extracting information by reducing the amount of work that it must do. Note that the exclude options -x or --TAG are not very efficient, and may have a negative impact on performance if a large number of tags are excluded individually.
The -fast option can significantly increase speed when extracting information from JPEG images which are piped across a slow network connection. However, with this option any information in a JPEG trailer is not extracted. For more substantial speed benefits, -fast2 may be used to also avoid extracting MakerNote information if this is not required, or -fast4 if only pseudo System tags are required.
When writing, avoid copying tags with -tagsFromFile or using the -if or -fileOrder option because these will add the extra step of extracting tags from the file. Without these the write operation is accomplished with a single pass of each file. This may be very memory intensive and result in poor performance when reading a large number of files in a single command. The Image::ExifTool module can be used in any Perl script to provide easy access to meta information.
Here is an example of a very simple script that uses Image::ExifTool to print out all recognized meta information in a file:! The simple script above does not handle this case. See the Image::ExifTool Documentation for more details.
The Image::ExifTool Perl Library Module
Image::ExifTool Posted on by sparkie hi all This is going well! Got Perl installed, got ExifTool installed. Tested a few calls to ImageInfo. What a treat - up pops all the metadata for my jpeg. I thought SetNewValue was the one, but this method seems to be for writing new values to existing tags. So, a wee code snippet where a custom brand new tag is added to file would see me right. What a fab tool set!
Adding custom tags with Image::ExifTool
All XMP information is stored as character strings. When reading, struct tags are extracted only if the Struct -struct option is used. The Struct option may be disabled by setting Struct to 0 via the API or with --struct on the command line to copy only flattened tags, or enabled by setting Struct to 1 via the API or with -struct on the command line to copy only as structures. When writing, the Struct option has no effect, and both structured and flattened tags may be written.
Subscribe to RSS
These are the only files that exiftool can create from scratch. A common example of this is the XMP "sidecar" file which is discussed in the next section in some detail. As well, ExifTool supports XML-format output, which can also be used to generate metadata sidecar files. XMP Sidecar Files There are a number of different ways to generate an XMP sidecar file with exiftool, and the method you choose depends on your circumstances and preferences.
Metadata Sidecar Files