Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
Loading File Codecs

Some operating systems (like Windows 95) have a limit for the number of DLLs that can be loaded at a time and that limit can be quickly reached, especially if there are several other third party libraries loading DLLs, or if the programming environments themselves load many DLLs.  By default, LEADTOOLS loads several fixed codecs and several cached codecs.  The fixed codecs are FAX, CMP, TIF, JBG, LMB, BMP and PCX.

Use the following method to specify the file format codecs you want LEADTOOLS to load:

PreloadCodecs

Use the following method to specify the 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.