From ea2367e24c879c6b011ac54293f5b93e313e68fb Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 20 Jun 2019 12:18:40 +0100 Subject: [PATCH] forgot to rename the wrapper script and add tiny dbg to gifload --- libvips/foreign/gifload.c | 9 +++++++++ tools/Makefile.am | 4 ++-- tools/{vips-8.8 => vips-8.9} | 0 3 files changed, 11 insertions(+), 2 deletions(-) rename tools/{vips-8.8 => vips-8.9} (100%) diff --git a/libvips/foreign/gifload.c b/libvips/foreign/gifload.c index 122e5f40..b43624a5 100644 --- a/libvips/foreign/gifload.c +++ b/libvips/foreign/gifload.c @@ -580,6 +580,15 @@ vips_foreign_load_gif_set_header( VipsForeignLoadGif *gif, VipsImage *image ) if( gif->comment ) vips_image_set_string( image, "gif-comment", gif->comment ); +{ + int array[10]; + int i; + + for( i = 0; i < 10; i++ ) + array[i] = i; + vips_image_set_array_int( image, "delay", array, 10 ); +} + return( 0 ); } diff --git a/tools/Makefile.am b/tools/Makefile.am index 2165242d..b8e2bb9e 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -20,11 +20,11 @@ bin_SCRIPTS = \ batch_rubber_sheet \ batch_crop \ vipsprofile \ - vips-8.8 + vips-8.9 EXTRA_DIST = \ vipsprofile \ - vips-8.8 \ + vips-8.9 \ light_correct.in \ shrink_width.in \ batch_image_convert.in \ diff --git a/tools/vips-8.8 b/tools/vips-8.9 similarity index 100% rename from tools/vips-8.8 rename to tools/vips-8.9