polewcentric.blogg.se

Exiftool options
Exiftool options










Generate the returned information hash and tag list. Internally, ImageInfoĬalls ExtractInfo to extract data from the image, and This is the one-step function for obtaining The ExifTool "noConfig" flag before loading Image::ExifTool. If necessary, the configuration feature can be disabled by setting " ExifTool_config" in the ExifTool distribution for User-defined tags can be added via the ExifTool configuration file. $exifTool-> WriteInfo('image.jpg','modified_image.jpg') $exifTool-> SetNewValue(Author => 'Phil Harvey') See ImageInfo for a more detailed description of theĪnd the technique for writing meta information is equally simple: Simplified example which prints out this information: The $info value returned by ImageInfo in the aboveĮxamples is a reference to a hash containing the tag/value pairs. The object-oriented method allows more flexibility, but is slightly moreĬomplicated. My $info = $exifTool-> ImageInfo('image.jpg')

exiftool options

Or in a more object-oriented fashion, by creating an ExifTool object: The ExifTool module may be used by simply calling the The following sections of this document give examples of how to use Image::ExifTool,Īnd explain the following individual functions in more detail: Write meta information in a wide variety of image, audio and video files. The Image::ExifTool library provides an extensible set of Perl modules to read and Image::ExifTool The Image::ExifTool Perl Library Module Description












Exiftool options