TIF Tagged Image File Import Automation Options

Since the Import Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various import options. A typical example would be:

 "Defaults=1,CustomNoData=1,CustomNoDataValue=-32767"

This would first set all import options to their default values, then use a custom NoData value for the grid file.

Option Action Default Description
EnableCustomNoData 0 = No
1 = Yes
0 0 to use the NoData value specified in the TIF file header. 1 to specify a custom NoData value.
CustomNoDataValue N   Specify the NoData value for the TIF file.
AutoContrast 0 = No
1 = Yes
1 0 to import the raster data TIFF Z values directly. 1 to increase contrast by remapping values from 0 - 255.

Remarks

These import automation options are only used when importing the TIF file as a grid, for example with AddContourGridMap or AddContourGridMapGraph. There are no import options when importing a TIF image, e.g. with Import.

See Also

TIF Tagged Image File Description

TIF Tagged Image Import Options Dialog