ModernImageCodecAvailable

Manipulação de imagens, Descoberta de recursos

Descrição

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

Sintaxe

Function TPDFlib.ModernImageCodecAvailable: Integer;

Valores retornados

1Um callback de decoder está registrado ou o módulo de codec nativo carregou com sucesso
0No compatible decoder is available

Observações

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

Veja também

SetModernImageCodecLibrary, AddModernImageFromStream