Back to FabImage Library website

You are here: Start » Function Reference » Image » Image IO » LoadMultiplePagesTiffImage

LoadMultiplePagesTiffImage


Header: FIL.h
Namespace: fil
Module: FoundationLite

Loads a image array from a tiff file.

Syntax

C++
C#
 
void fil::LoadMultiplePagesTiffImage
(
	const ftl::File& inFile,
	bool inLoadAlphaChannel,
	ftl::Array<fil::Image>& outImages
)

Parameters

Name Type Default Description
Input value
inFile const File& Path to a file
Input value
inLoadAlphaChannel bool Whether to load the alpha channel (if exists) as an additional image channel
Output value
outImages Array<Image>&

Errors

List of possible exceptions:

Error type Description
DomainError Image is damaged or it is not a TIF file in LoadMultiplePagesTiffImage. File: File name
Unable to open an image. Image header format is unrecognized. Image format is unknown or image is damaged. Load image supports only TIFF formats.