Skip to content

Commit b2cfe6a

Browse files
committed
nsgifload was not setting filename
1 parent 89c12b0 commit b2cfe6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libvips/foreign/nsgifload.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ vips_foreign_load_nsgif_set_header( VipsForeignLoadNsgif *gif,
306306
vips_image_set_array_double( image, "background", array, 3 );
307307
}
308308

309+
VIPS_SETSTR( image->filename,
310+
vips_connection_filename( VIPS_CONNECTION( gif->source ) ) );
311+
309312
/* DEPRECATED "gif-loop"
310313
*
311314
* Not the correct behavior as loop=1 became gif-loop=0

0 commit comments

Comments
 (0)