ImageLoader.loadAsTiff

Load image as tiff.

When an image which has another file type, assertion error is thrown.

class ImageLoader
static
loadAsTiff
(
string path
,
bool loadNoPixels = false
,
bool cmyk = false
)

Parameters

path string

image file path

loadNoPixels bool

When this flag is supported by a plugin, load only header data and possibly metadata (including embedded thumbnail). When the flag is not supported, pixels are loaded.

cmyk bool

This flag will load CMYK bitmaps as separated CMYK (default is conversion to RGB)

Return Value

Type: Image

loaded tiff image

Meta