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,9 +196,8 @@ 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 );
|
|
||||||
|
|
||||||
for( i = 0; i < VIPS_NUMBER( libheif_metadata ); i++ )
|
for( i = 0; i < VIPS_NUMBER( libheif_metadata ); i++ )
|
||||||
if( vips_image_get_typeof( heif->image,
|
if( vips_image_get_typeof( heif->image,
|
||||||
|
Loading…
Reference in New Issue
Block a user