←Select platform

FastFileInfo Property

Summary
Enables or disables fast file info processing.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public bool FastFileInfo { get; set; } 
@property (nonatomic, assign) BOOL fastFileInfo; 
public boolean getFastFileInfo() 
public void setFastFileInfo(boolean value) 
public: 
property bool FastFileInfo { 
   bool get(); 
   void set (    bool ); 
} 
FastFileInfo # get and set (RasterCodecs) 

Property Value

True to enable fast file info processing; false to disable it.

Remarks

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.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.