symbian ICL Overview

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

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.

翻译:


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值