GetImageListItemNativeFormat
Images
Description
Classifies the filter chain of one image-list item's original still-encoded PDF stream
Syntax
Delphi
Function GetImageListItemNativeFormat(ImageListID, ImageIndex: Integer): WideString;Return values
| jpeg | The filter chain contains DCTDecode |
|---|---|
| jpx | The filter chain contains JPXDecode |
| jbig2 | The filter chain contains JBIG2Decode |
| ccitt | The filter chain contains CCITTFaxDecode |
| flate | The stream uses only FlateDecode |
| raw | The stream has no filter |
| unknown | The indexed item is invalid, malformed or uses an unclassified filter chain |
| Empty string | ImageListID is not a valid image-list handle |
Failure behaviour
The function does not raise an error for an invalid handle or 1-based item index and returns an empty string or unknown as described above
Remarks
The value describes the bytes returned by GetImageListItemNativeDataToString, not a decoded bitmap format. When a filter array contains a recognised compressed image codec, that codec takes precedence over other filters
See also
GetImageListItemNativeDataToString, SaveImageListItemNativeDataToFile, GetImageListItemFormatDesc