#include "l_bitmap.h"
L_LTFIL_API L_BOOL L_EnableFastFileInfo(bEnable)
L_BOOL bEnable; |
enable or disable flag |
Enables or disables fast file info processing.
Parameter | Description | |
bEnable | Flag that specifies whether or not to enable fast file info processing. Possible values are: | |
Value | Meaning | |
TRUE | Enables fast file info processing. | |
FALSE | Disables fast file info processing. |
TRUE or FALSE |
The previous value for this setting. |
This function causes the LEADTOOLS File Information / Load functions to only check the files signature when trying to determine the files format.
The default behavior when calling LEADTOOLS File Information and Load functions, is that if the files signature does not match one of the known file format signatures, then LEADTOOLS will allow each of the available file format filters a chance to properly identify the files format. This can both slow down an application and unnecessarily use up system resources if the application attempts to load files of an unsupported format (i.e. non-image files).
When Fast File Info is enabled, the file will be rejected if the signature does not match one of the known file format signatures and thus the file format dlls will not unnecessarily be loaded or called.
You must call this function prior to calling any LEADTOOLS File Information or Load/Save functions.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64, Linux.
Functions: |
L_PreLoadFilters, L_GetIgnoreFilters, L_GetPreLoadFilters, L_SetFilterInfo |
Topics: |
For an example, refer to L_FileInfo.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.