ModernImageCodecAvailable

Image handling, Capability discovery

Description

Reports whether a registered decoder callback or a compatible native codec library is available

Syntax

Function TPDFlib.ModernImageCodecAvailable: Integer;

Return values

1A decoder callback is registered or the native codec module loaded successfully
0No compatible decoder is available

Remarks

The check may load the native module, so call SetModernImageCodecLibrary first when using an explicit path

Successful module loading confirms the required API surface, while an individual format can still fail when its native coder module is not installed

See also

SetModernImageCodecLibrary, AddModernImageFromStream