Loading File Filters

If you are concerned about memory usage, you may wish to limit the number of file filter DLLs that LEADTOOLS keeps loaded at any given time. By default, LEADTOOLS loads several fixed filters and several cached filters. The fixed filters are FAX, CMP, TIF, PNG, BMP.

Use the following function to specify the file format filters you want LEADTOOLS to load:

L_PreLoadFilters

Use the following function to specify the file format filters LEADTOOLS should never load:

L_IgnoreFilters

It is important to note that L_PreLoadFilters must be called prior to loading, saving or getting information about a file. In addition, L_PreLoadFilters must be called before calling L_IgnoreFilters for L_IgnoreFilters to work properly.

In case the previously loaded filters should be changed, call the L_GetPreLoadFilters function before calling the L_PreLoadFilters function.

In case the current ignored filters list should be changed, call the L_GetIgnoreFilters function before calling the L_IgnoreFilters function.

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

LEADTOOLS Raster Imaging C API Help

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