#include "l_bitmap.h"
L_LTFIL_API L_BOOL L_EnableFastFileInfo(bEnable)
Enables or disables fast file info processing.
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. |
Value | Meaning |
---|---|
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
Win32, x64, Linux.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document