TIF Tagged Image File [.TIF, .TIFF] 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

CustomNoData

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 exactly. 1 to increase contrast by remapping values from 0 - 255. Option should be used when importing a grid TIFF as an image rather than grid.

Remarks

These import automation options are only used when importing the TIF file as a grid, for example with LoadFile2 [Grid]. There are no import options when importing a TIF image, e.g. with Import2, or using the TIF image to create a base map, e.g. with AddRasterBaseMap.

See Also

Import Options String

TIF Tagged Image File Description

TIF Tagged Image Import Options Dialog