mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
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:
parent
49e534247a
commit
d577e516c5
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue