ICL Overview
The ICL (image converter library) provides facilities to convert single and multiframe images stored in files or descriptors to CFbsBitmap objects. The library also provides facilities to convert single frame images from CFbsBitmap objects to files or descriptors. The key classes of the library (CImageDecoder, CBufferedImageDecoder and CImageEncoder) are plugin based, leaving the list of supported formats open ended. ICL does provide some standard plugins to facilitate some of the more common image formats. These are listed below:

Note: Within ICL, all images can be uniquely identified for purposes of plugin assignment by their type (BMP, GIF, JPEG etc) and their sub-type (for example for WMF, valid sub-types include, std, apm and clp). Each type and sub-type has an arbitrary ID assigned to it by ICL and its associated plugin, for use with the FileNewL() and DataNewL() functions. Supported format types and sub-types can be listed using the GetImagetypesL() and GetImageSubtypesL() functions of the encoder and decoder objects.
The client application does not access the plugin directly as all communication is done via the CImageDecoder, CBufferedImageDecoder and CImageEncoder classes. New decode and encode objects have to be created for each image that is to be decoded or encoded using the first two of these classes; Once the decode/encode operation has completed, the object cannot be reused for another image.
The CBufferedImageDecoder class behaves differently, in that it can be instantiated without specifying an image to convert. Once created the CBufferedImageDecoder object can be used to decode successive images.

ICL(图像转换库)提供从文件或描述符读取单帧或多帧图像并将其转换为CFbsBitmap对象的功能。该库同样支持将单帧图像从CFbsBitmap对象转换回文件或描述符。ICL的核心类(CImageDecoder、CBufferedImageDecoder和CImageEncoder)采用插件形式,支持多种图像格式。

被折叠的 条评论
为什么被折叠?



