GetImageListItemNativeFormat

图像

描述

对图像列表单个条目原始仍处于编码状态的 PDF 流的过滤器链进行分类

语法

Delphi

Function GetImageListItemNativeFormat(ImageListID, ImageIndex: Integer): WideString;

返回值

jpeg过滤器链包含 DCTDecode
jpx过滤器链包含 JPXDecode
jbig2过滤器链包含 JBIG2Decode
ccitt过滤器链包含 CCITTFaxDecode
flate流仅使用 FlateDecode
raw流没有过滤器
unknown所索引的条目无效、格式错误或使用了未分类的过滤器链
空字符串ImageListID 不是有效的图像列表句柄

失败行为

对无效句柄或从 1 开始的条目索引,该函数不引发错误,而是按上述说明返回空字符串或 unknown

备注

该值描述的是 GetImageListItemNativeDataToString 返回的字节,而不是解码后的位图格式。当过滤器数组包含可识别的压缩图像编解码器时,该编解码器优先于其他过滤器

另请参阅

GetImageListItemNativeDataToString, SaveImageListItemNativeDataToFile, GetImageListItemFormatDesc