Leadtools.Codecs Namespace > RasterCodecs Class : PreloadCodecs Method |
If codecs is empty, all file codecs LEADTOOLS can find will be loaded and LEADTOOLS will determine the order in which the files will be used.
codecs 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 codecs is BMP,TIF,CMP
then the following codecs will be loaded in the following order:
The first fixedCodecs will stay in memory at all times, then the next cachedCodecs will be loaded. However, if other codecs will be needed, the cached codecs might be unloaded to make room for the new DLLs.
It is recommended that the most commonly used DLLs be loaded as fixed to minimize the time required to load/unload file codecs. Also, some DLLs may require additional DLLs (like the Leadtools.Pdf.dll
or Leadtools.Codecs.Tif.dll
) so the exact number of DLLs loaded is not necessarily equal fixedCodecs + cachedCodecs.
Before calling this method, you can get the default preload codecs list using PreloadCodecsList.
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