By default, LEADTOOLS loads several fixed codecs and several cached codecs. The fixed codecs are FAX, CMP, TIF, PNG, BMP.
Use the PreloadCodecs method to specify the file format codecs you want LEADTOOLS to load. If the codecs parameter is empty, all file codecs LEADTOOLS can find will be loaded and LEADTOOLS will determine the order in which the files will be used.
The codecs parameter is in the form xyz, yuv ...
where Xyz
are the 3 letters describing the file codec as in Leadtools.Codecs.Xyz.dll
. For instance, if the codecs parameter is BMP,TIF,CMP
, then the following codecs will be loaded in the following order:
The FastFileInfo allows you to determine whether a 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. Use the following method to specify which file format codecs LEADTOOLS should never load:
IgnoreCodecs
It is important to note that PreloadCodecs must be called prior to loading, saving or getting information on a file. In addition, PreloadCodecs must be called before calling IgnoreCodecs for IgnoreCodecs to work properly.
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