A TIFF can contains several pages. You can load image or paramters from a page using TIFF_ImageIndex (or just ImageIndex).

Each page can contain sub images, like a tree, so you can load a specific sub page using TIFF_SubIndex.

This is useful for example to load an embedded Jpeg from a DNG (camera raw format), that is located at first page and second sub index.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int TIFF_SubIndex { get; set; }
Public Property TIFF_SubIndex As Integer
	Get
	Set
public:
property int TIFF_SubIndex {
	int get ();
	void set (int value);
}

Examples

CopyC#
// loads the embeded jpeg from a DNG
ieViewer1.Image.IOParams.TIFF_ImageIndex=0;
ieViewer1.Image.IOParams.TIFF_SubIndex=1;
ieViewer1.Image.LoadImage("DCSXXX.DNG");

See Also