libgimp: set subfiletype to FILETYPE_REDUCEDIMAGE when saving EXIF thumbnails.

Setting the type to reduced image for a thumbnail makes it easier when
loading TIFF images to recognize a page as a thumbnail.
This commit is contained in:
Jacob Boerema 2021-08-16 13:34:36 -04:00
parent 49e534247a
commit d577e516c5
1 changed files with 4 additions and 1 deletions

View File

@ -633,7 +633,10 @@ gimp_image_metadata_save_finish (GimpImage *image,
"3");
gexiv2_metadata_set_tag_string (new_g2metadata,
"Exif.Thumbnail.PhotometricInterpretation",
"6");
"6"); /* old jpeg */
gexiv2_metadata_set_tag_string (new_g2metadata,
"Exif.Thumbnail.NewSubfileType",
"1"); /* reduced resolution image */
g_free (thumb_buffer);
}