mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-11-07 01:18:50 -05:00
expose the underlying library version in the image metadata
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user