property ImageInfo[Index: Integer]: TPdfImageInfo; // read-only
| Index | Integer. Zero-based index of a page object whose ObjectType is otImage |
| Result | TPdfImageInfo. Record with Width, Height, Filters, HorizontalDpi, VerticalDpi, BitsPerPixel, ColorSpace, and MarkedContentId |
Describes the image without decoding it, which is what an audit needs: Width and Height are the stored pixel dimensions, while HorizontalDpi and VerticalDpi are the effective resolution after the object matrix scales those pixels onto the page
Filters lists the stream filters in application order - DCTDecode for JPEG, JPXDecode for JPEG 2000, FlateDecode, JBIG2Decode, and so on - which tells a caller what re-encoding would involve
To get the pixels, read Image or ObjectBitmap. To re-encode images in place, use OptimizeImages