Leadtools.Codecs Namespace > RasterCodecs Class : FastFileInfo Property |
public bool FastFileInfo {get; set;}
'Declaration Public Property FastFileInfo As Boolean
'Usage Dim instance As RasterCodecs Dim value As Boolean instance.FastFileInfo = value value = instance.FastFileInfo
public bool FastFileInfo {get; set;}
get_FastFileInfo();
set_FastFileInfo(value);
This property causes the LEADTOOLS File Information and Load methods to only check the file's signature when trying to determine the file's format.
The default behavior when calling LEADTOOLS File Information and Load methods, is that if the file's 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 file's 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. As a result, the file format DLLs will not be loaded or called unnecessarily.
You must enable this feature prior to calling any LEADTOOLS File Information or Load and Save methods.
The default value is false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2