ModernImageFormatName
Image handling, Capability discovery
Description
Returns the display name of a modern image format value
Syntax
Delphi
Function ModernImageFormatName(ImageFormat: TPDFlibModernImageFormat): AnsiString;Parameters
| ImageFormat | Format value, typically from DetermineModernImageFormat |
|---|
Return values
| AVIF / HEIF / JPEG XL | The canonical display name of the format |
|---|---|
| Unknown | mifUnknown or any value outside the enumeration |
Remarks
Handy for log lines and diagnostics when a decode falls back or a codec module is missing a coder for one particular format