mirror of https://github.com/GNOME/gimp.git
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
|
@ -633,7 +633,10 @@ gimp_image_metadata_save_finish (GimpImage *image,
|
||||||
"3");
|
"3");
|
||||||
gexiv2_metadata_set_tag_string (new_g2metadata,
|
gexiv2_metadata_set_tag_string (new_g2metadata,
|
||||||
"Exif.Thumbnail.PhotometricInterpretation",
|
"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);
|
g_free (thumb_buffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue