diff --git a/ChangeLog b/ChangeLog index 9535f07a..92b6029e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,7 @@ master - reduce latency on dzsave kill [kleisauke] - improve text too large check [kleisauke] - fix subifd writing for small images [ruven] +- name ICC profiles in spngsave [lovell] 24/7/22 started 8.13.1 - fix im7 feature detection in meson diff --git a/libvips/foreign/spngsave.c b/libvips/foreign/spngsave.c index a40be6e4..445bb3cf 100644 --- a/libvips/foreign/spngsave.c +++ b/libvips/foreign/spngsave.c @@ -217,7 +217,7 @@ vips_foreign_save_spng_metadata( VipsForeignSaveSpng *spng, VipsImage *in ) "of ICC profile\n", length ); #endif /*DEBUG*/ - vips_strncpy( iccp.profile_name, "", + vips_strncpy( iccp.profile_name, "icc", sizeof( iccp.profile_name ) ); iccp.profile_len = length; iccp.profile = (void *) data;