expose the underlying library version in the image metadata

This commit is contained in:
Mirco Miranda
2026-10-16 16:20:42 +02:00
parent dc714be934
commit ae6031c02e
12 changed files with 69 additions and 2 deletions
+4
View File
@@ -609,6 +609,10 @@ bool QAVIFHandler::read(QImage *image)
jumpToNextImage();
}
#ifdef KIF_EXPOSE_LIBVER
m_current_image.setText(QStringLiteral(META_KEY_LIBRARY), QStringLiteral("LibAVIF %1").arg(avifVersion()));
#endif
*image = m_current_image;
if (imageCount() >= 2) {
m_must_jump_to_next_image = true;