Libraries |
|
Tiff | Source Code |
|
|
Function Summary | |||||
PRIMITIVE_WINDOW |
| ||||
PRIMITIVE_WINDOW |
|
Function Detail |
readTiff
const func PRIMITIVE_WINDOW: readTiff (inout file: tiffFile)
-
Reads a TIFF file into a pixmap.
- Parameters:
- tiffFile - File that contains a TIFF image.
- Returns:
- A pixmap with the TIFF image, or PRIMITIVE_WINDOW.value if the file does not contain a TIFF magic number.
- Raises:
- RANGE_ERROR - The file is not in the TIFF file format.
readTiff
const func PRIMITIVE_WINDOW: readTiff (in string: tiffFileName)
-
Reads a TIFF file with the given tiffFileName into a pixmap.
- Parameters:
- tiffFileName - Name of the TIFF file.
- Returns:
- A pixmap with the TIFF image, or PRIMITIVE_WINDOW.value if the file cannot be opened or does not contain a TIFF magic number.
- Raises:
- RANGE_ERROR - The file is not in the TIFF file format.
|
|