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 lacks a coder for one specific format