mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-06-21 14:19:11 -04:00
MicroExif: search for the TIFF signature
This commit is contained in:
@@ -953,7 +953,7 @@ bool HEIFHandler::ensureDecoder()
|
||||
if (isXmp) {
|
||||
m_current_image.setText(QStringLiteral(META_KEY_XMP_ADOBE), QString::fromUtf8(ba));
|
||||
} else if (isExif) {
|
||||
auto exif = MicroExif::fromByteArray(ba.mid(4));
|
||||
auto exif = MicroExif::fromByteArray(ba, true);
|
||||
if (!exif.isEmpty()) {
|
||||
exif.updateImageResolution(m_current_image);
|
||||
exif.updateImageMetadata(m_current_image);
|
||||
|
||||
Reference in New Issue
Block a user