Click or drag to resize

TiffFileRead Method (Stream, Int32)

Reads directories and tags for a specific page.
Open an existing TIFF Document, parsing the tags for each directory.

Namespace:  Atalasoft.Imaging.Codec.Tiff
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Read(
	Stream stream,
	int frameIndex
)

Parameters

stream
Type: System.IOStream
Encoded image stream
frameIndex
Type: SystemInt32
Frame index to read
Remarks

The same stream or path cannot be used to read and save a TiffFile object. To overwrite an existing TIFF, save the TIFF into a new file, then overwrite the original.

The stream must remain open while accessing TIFF Tags and managing IFD's.

See Also