Imagine Toolkit

ERDAS IMAGINE, the world’s leading geospatial data authoring system, supplies tools for all your Remote Sensing and Photogrammetry needs.
Showing results for 
Search instead for 
Do you mean 

tiffFileLayerNamesGet IFD Implementation

by Technical Evangelist ‎10-01-2015 12:17 PM - edited ‎03-29-2016 09:20 AM (1,157 Views)

IFD Implementation

tiffFileLayerNamesGet

Description

The tiffFileLayerNamesGet function produces layer names of the form "Layer_<i>" for all i from 1 to n, where n is the number of layers in the TIFF file as determined by the etif_Open function. The etif_Open function uses the TIFFTAG_SAMPLESPERPIXEL, if present, as the number of layers in the TIFF file. If this tag is not present, the etif_Open function examines the TIFFTAG_PHOTOMETRIC tag. If the tag indicates ETIF_RGB or ETIF_YCBCR, the number of layers will be three. If the tag indicates ETIF_CMYK, the number of layers will be four. Otherwise, the number of layers will be one.

Overview
Contributors