heifsave: allow creation of EXIF metadata (#2794)

Previously only update of input EXIF was possible
This commit is contained in:
Lovell Fuller 2022-05-10 08:14:53 +01:00 committed by GitHub
parent d91cfa4e53
commit 7e64c48ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,6 @@ vips_foreign_save_heif_write_metadata( VipsForeignSaveHeif *heif )
/* Rebuild exif from tags, if we'll be saving it.
*/
if( vips_image_get_typeof( heif->image, VIPS_META_EXIF_NAME ) )
if( vips__exif_update( heif->image ) )
return( -1 );