ModernImageCodecAvailable
Обработка изображений, определение возможностей
Описание
Reports whether a registered decoder callback or a compatible native codec library is available
Синтаксис
Function TPDFlib.ModernImageCodecAvailable: Integer;
Возвращаемые значения
| 1 | Зарегистрирован callback-декодер либо успешно загружен нативный модуль кодека |
|---|---|
| 0 | No compatible decoder is available |
Примечания
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