| GraphicsFormats Xojo plugin |
|
RawTIFFImporter.OpenFromFile Method (console safe)
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
This method can throw RawTIFFException.
See Also
RawTIFFImporter Class