You are here: Popular Formats > TIFF (Tagged Image File Format) Reader/Writer > Feature Representation

Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), this format adds the format-specific attributes described in this section.

TIFF features specify a matrix of x, y, and z coordinates. For each raster, there will only be a single feature returned.

Attribute Name

Reader or Writer Attribute

Contents

tiff_type

 

This will always be tiff_raster.

tiff_area_or_point

Reader attribute

Indicates whether each raster pixel represents an area or point. The value can be Area or Point.

tiff_subdataset_name

 

When this is present on a feature, the feature is a subdataset. This attribute shows the name of the subdataset.

tiff_subdataset_description

 

When this is present on a feature, the feature is a subdataset. This attribute gives a description of the subdataset.

tiff_documentname

 

Represents the name of the document from which this image was scanned.

tiff_imagedescription

 

Represents a string that describes the subject of the image.

tiff_datetime

 

Represents a date and time of image creation. When writing, the string must have the following format to be accepted: “YYYYMMDDHHMMSS”, without any separator or delimiter. Hours range from 0 to 23.

tiff_software

 

Represents the name and version number of the software package(s) used to create the image.

tiff_resolutionunit

 

The unit of measurement for tiff_xresolution and tiff_yresolution. The possible values are 1, which means that there is no absolute unit of measurement and is usually used for images, 2, which means inches, and 3, which means centimeters.

tiff_xresolution

 

Represents the number of pixels per tiff_resolutionunit in the x direction.

tiff_yresolution

 

Represents the number of pixels per tiff_resolutionunit in the y direction.

tiff_artist

 

Represents the person who created the image. Some older TIFF files used this tag for storing copyright information.

tiff_copyright

 

Represents the copyright notice of the person or organization that claims the copyright to the image. The complete copyright statement should be listed in this field including any dates and statements of claims. For example, “Copyright, John Smith, 19xx. All rights reserved.”

tiff_hostcomputer

 

It represents the computer and/or operating system in use at the time of image creation.

tiff_maxsamplevalue   The maximum data value used.
tiff_minsamplevalue   The minimum data value used.

tiff_world_file_
generation

Writer attribute

Enables or disables the generation of an Esri world file along with the output image. The value can be yes or no (case-sensitive). The default is yes.

tiff_tab_file_generation

Writer attribute

Enables or disables the generation of a TAB file along with the output image.

The value can be yes or no. The default value is yes.

tiff_create_tiled_files

Writer attribute

Enables or disables the creations of tiled TIFF images. By default, it is disabled (the value no), and stripped TIFF images are created. Note that tiled TIFFs are not as widely supported by other applications as stripped TIFFs. The value can be yes or no (case-sensitive).

tiff_tile_size_x

Writer attribute

Specifies the number of columns in a tile. This option only applies when creating a tiled file; strips are required to be the full width of the raster. This value is required to be a multiple of 16. If no value is specified, this parameter will be determined from the tile size of the input raster.

tiff_tile_size_y

Writer attribute

Specifies the number of rows in a tile or strip. If no value is specified, this parameter will be determined from the tile size of the input raster.

Note that other options may impact this value:

  • If creating a tiled file, this must be a multiple of 16.
  • If applying JPEG compression, this must be a multiple of 8.
  • If applying JPEG compression with a photometric interpretation of YCbCr, this must be a multiple of 16.

tiff_compression_method

 

The compression method used in the file.

The available options are:

  • jpeg
  • lzw
  • pack-bits
  • ccitt-rle (CCITT modified Huffman run length encoding)
  • ccitt-fax3 (CCITT Group 3 fax encoding)
  • ccitt-fax4 (CCITT Group 4 fax encoding)
  • none

If not specified, the default value is none.

tiff_jpeg_compression_
level

Writer attribute

Sets the quality of the compression if jpeg is the value for geotiff_compression_method.

The range of the value is from 0 (best quality) to 100 (worst quality). The default value is 25.

tiff_number_of_bits_per_cell

 

The number of bits per cell in the file, if it is not a power of 2 (i.e. 8, 16, or 32). Valid values are 1 - 32. If the bit depth is a power of 2, this value does not need to be specified. Note that previously the string "8-or-above" was equivalent to leaving this value blank.

When this value is specified, the interpretation of the input raster bands must be the minimum power of 2 above the requested bit depth. For example, to write 7-bit data, the interpretation must be one of UINT8, GRAY8, RED8, GREEN8, BLUE8, or ALPHA8. Please see the writer overview above for more details on the use of this parameter when writing.

tiff_enable_bigtiff

  It allows the writer to produce a file larger than 4GB when the value is set to no. If the value is set to no or left empty, the BigTIFF support is not enabled.

tiff_interleaving_type

 

The organization of the bands in the file.

Acceptable values are BIP, which is band interleaved by pixel, and BSQ, which is band sequential. BIP may be less efficient for reading and writing by FME, but is more widely supported by other applications. If not specified, the default interleaving is BIP.

Note that this option corresponds to the PlanarConfiguration TIFF tag. BIP corresponds to a value of 1 (Chunky), and BSQ corresponds to a value of 2 (Planar).

tiff_byte_order Writer attribute The byte order of the file. When reading, values will be either MSB or LSB. When writing, valid values are MSB, LSB, and machine (meaning the native byte order of the machine running FME). The default value when writing is machine.
tiff_write_minmax_tifftags Writer attribute

Specifies whether the writer should calculate the MinSampleValue and MaxSampleValue TIFF tags values from the input raster. Calculating the min/max values may increase translation time. Note that if this is set to Yes, the calculated values will override any explicit values specified for tiff_minsamplevalue and tiff_maxsamplevalue.

This is a writer attribute.

tiff_photometric_interpretation  

The color space of the image data.

The available options are:

  • Auto: The photometric interpretation will be implicitly determined from the FME interpretation.
  • MinIsBlack: The minimum value of the raster should be displayed as black.
  • MinIsWhite: The minimum value of the raster should be displayed as white.
  • YCbCr: The values should be stored using the YCbCr color space. This option is only valid when using JPEG compression.