ModernImageFormatName

Image handling, capability discovery

Description

Returns the display name of a modern image format value

Syntax

Delphi

Function ModernImageFormatName(ImageFormat: TPDFlibModernImageFormat): AnsiString;

Parameters

ImageFormatFormat value, typically from DetermineModernImageFormat

Return values

AVIF / HEIF / JPEG XLThe canonical display name of the format
UnknownmifUnknown 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

See also

DetermineModernImageFormat, ModernImageCodecAvailable