[gimp/gimp-2-10] plug-ins: ensure that metadata correspond to real image size
- From: Daniel Novomeský <dnovomesky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: ensure that metadata correspond to real image size
- Date: Thu, 16 Jun 2022 12:56:16 +0000 (UTC)
commit 7fae471426a87c026c0581f946f331fdbcbf698f
Author: Daniel Novomeský <dnovomesky gmail com>
Date: Thu Jun 16 14:02:45 2022 +0200
plug-ins: ensure that metadata correspond to real image size
plug-ins/common/file-heif.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index e103562157..49d6503230 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -1195,6 +1195,10 @@ load_image (GFile *file,
gexiv2_metadata_set_orientation (GEXIV2_METADATA (metadata),
GEXIV2_ORIENTATION_NORMAL);
+ gexiv2_metadata_set_metadata_pixel_width (GEXIV2_METADATA (metadata),
+ width);
+ gexiv2_metadata_set_metadata_pixel_height (GEXIV2_METADATA (metadata),
+ height);
gimp_image_metadata_load_finish (image_ID, "image/heif",
metadata, flags,
interactive);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]