GraphicsFormats Xojo plugin

RawTIFFImporter.OpenFromFile Method

Opens a TIFF Image from a file taking in directory index as parameter.

OpenFromFile(
   f as FolderItem,
   directoryIndex as Integer) as RawBitmap

Parameters

f
The FolderItem to open the image from.
directoryIndex
Index of the image within the TIFF file to get. (Default is zero). Most files will only have one image within them.

Returns

RawBitmap
Returns the imported Picture as RawBitmap or nil if import failed.

Remarks

See Also

RawTIFFImporter Class