heifsave: allow creation of EXIF metadata (#2794)
Previously only update of input EXIF was possible
This commit is contained in:
parent
d91cfa4e53
commit
7e64c48ca9
@ -196,7 +196,6 @@ vips_foreign_save_heif_write_metadata( VipsForeignSaveHeif *heif )
|
|||||||
|
|
||||||
/* Rebuild exif from tags, if we'll be saving it.
|
/* 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 ) )
|
if( vips__exif_update( heif->image ) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user