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
@@ -191,6 +191,10 @@ bool HEIFHandler::read(QImage *outImage)
return false;
}
#ifdef KIF_EXPOSE_LIBVER
m_current_image.setText(QStringLiteral(META_KEY_LIBRARY), QStringLiteral("LibHEIF %1").arg(heif_get_version()));
#endif
*outImage = m_current_image;
return true;
}