property ImageInfo[Index: Integer]: TPdfImageInfo; // read-only
| Index | Integer。ObjectType 为 otImage 的页面对象的从零开始的索引 |
| Result | TPdfImageInfo。带有 Width、Height、Filters、HorizontalDpi、VerticalDpi、BitsPerPixel、ColorSpace 和 MarkedContentId 的记录 |
在不解码的情况下描述图像,这是审计所需要的:Width 和 Height 是存储的像素尺寸,而 HorizontalDpi 和 VerticalDpi 是对象矩阵把那些像素缩放到页面后的有效分辨率
Filters 按应用顺序列出流过滤器——JPEG 用 DCTDecode、JPEG 2000 用 JPXDecode、FlateDecode、JBIG2Decode 等等——这告诉调用者重新编码会涉及什么
要获取像素,读取 Image 或 ObjectBitmap。要就地重新编码图像,使用 OptimizeImages