You are here: Start » FIL.NET » Function Reference » Image » Image IO » FIL.LoadImageFormat
Loads a single image format from a file without loading all image data.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void LoadImageFormat ( string inFile, bool inLoadAlphaChannel, out FilNet.ImageFormat outImageFormat )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inFile | string | Path to a file. | ||
![]() | inLoadAlphaChannel | bool | |||
![]() | outImageFormat | FilNet.ImageFormat |
Errors
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. |