Start » Filter Reference » Image » Image IO » LoadImageFormat
Module: | FoundationLite |
---|
Loads a single image format from a file without loading all image data.
Name | Type | Description | |
---|---|---|---|
inFile | File | Path to a file | |
inLoadAlphaChannel | Bool | ||
outImageFormat | ImageFormat |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image is damaged or it is not a BMP, PNG, PNM, TIF or JPG file in LoadImageFormat. 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 BMP, PNG, PNM, JPG and TIFF formats. |
Complexity Level
This filter is available on Basic Complexity Level.