The handling mode for a file codec.
public enum CodecsCodecLoadMode
Public Enum CodecsCodecLoadMode
public enum CodecsCodecLoadMode
public enum class CodecsCodecLoadMode
Members
Value | Member | Description |
---|---|---|
0 | Dynamic | The codec is dynamically loaded and freed as necessary. |
1 | Fixed | The codec is loaded into memory and will never be unloaded. (This makes the file handling very fast). |
2 | Ignored | The codec is ignored. You cannot load, save or get the file information for any files normally handled by this codec. |
LEADTOOLS maintains a list of codecs used for querying for the file information.
Fixed codecs are never unloaded from the list. This makes the file detection of file formats very fast.
Dynamic codecs are dynamically unloaded when the number of loaded codecs exceeds the number set through RasterCodecs.PreloadCodecs.
Ignored codecs will never be used. You cannot load, save or obtain information on file formats normally handled by a codec that is ignored.
Once you save or load a file handled by a certain codec, that codec will be permanently loaded into memory. From that point on, setting the codecs load mode has no effect.
For an example, refer to RasterCodecs.GetCodecInformation.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET