Two Pilots™    Home  |  Navigation  |  Site map  |  Products  |  Download  |  Order  |  Support  |  Contact us  |  For Publishers  |  OEM

 

EXIF Pilot Pro - Working with the Command Line

FAQ | Exif tags | Command line | Tag values | Versions history | Write us!


You can create and edit EXIF and IPTC data using the command line. Working with single files as well as batch editing are available.

Each tag has a type. The value of a tag depends on its type. For example, if a tag is the string type, then it contains a string, but if a tag is the numeral data type, then it may contain only a number. There are also tags which have the ordinal type which may take only predetermined values.

After you write the value of a specific parameter, then execute the appropriate command for the corresponding tag from the command line (including the path to the folder with images or the path to the specific file), the new value will be written in the image.

The command line format for batch editing:

exifpilotpro.exe   PathToFolderWithImages   TagName   NewValueOfTag

If you want change only one file, you must provide the path to the specific graphic file.

The list of tags and their values, which you can edit, is found in the Metadata.txt file or here.

How to create and edit EXIF and IPTC data of various types is explained below.

 

String Type

String type tags can contain strings composed of any symbols. For example, if you want to write in the Copyright field the string "Example string",

Execute the following from the command line:

exifpilotpro.exe   c:\Pictures   Exif/Image/Copyright   "Example string"

 

Numeral Type

Numeral type tags can contain only unsigned integers. For example, if you want to change the BitsPerSimple field on number 8,

Execute the following from the command line:

exifpilotpro.exe   c:\Pictures   Exif/Image/BitsPerSample   8

 

Fractional Type (format a/b)

Fractional type tags can contain only fractional numbers in the form a/b. For example, if you want to change the FNumber field on number 4.8,

Execute the following from the command line:

exifpilotpro.exe   c:\Pictures   Exif/Photo/FNumber   48/10

 

Note: Fractional type means that the parameter value must be in a/b format. If you want to set a new value of 4.8, you need to convert it from decimal format. For example, 4.8 = 48/10 or 0.3 = 3/10.

 

Ordinal Type

Ordinal type tags can contain only predetermined values. For example, if you want to change the LightSource field on Cloudy weather, first find (in the Metadata.txt file or here) the number that corresponds to the Cloudy weather value, which is 10. Then,

Execute the following from the command line:

exifpilotpro.exe   c:\Pictures   Exif/Photo/LightSource   10

 

Other Commands

You may write several commands to one text file. For example, in a file named example.txt, you might include these commands:

c:\Pictures\image.jpg   Exif/Image/Compression   2
c:\Pictures\image.jpg   Exif/Image/Model   Unknown

 

Important: Each command in the text file must be written on a new line!

When you type this on the command line:

exifpilotpro.exe   example.txt

both commands in the text file will be executed.

 

See also the list of tags and their values.

 

- Exif Pilot - Exif Pilot Lite - Exif Pilot Pro -

 

 

Page top