A callback function that implements a file format detection routine.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI FNIGGUI_FORMAT_DETECT(
LPVOID lpPrivate,
LPAT_MODE lpnFormat
);
|
|
Arguments:
| Name | Type | Description |
| lpPrivate | LPVOID | A file name. |
| lpnFormat | LPAT_MODE | A pointer to a variable that will receive the Format ID. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.Supported Raster Image Formats:
All pixel formats supported by ImageGear.
Sample:
GUI