allow 10,000 frame GIFs

the old limit was 1,000, which was a little low
This commit is contained in:
John Cupitt 2021-05-25 14:08:19 +01:00
parent 98d35dda28
commit 889ca96648
1 changed files with 1 additions and 1 deletions

View File

@ -834,7 +834,7 @@ vips_image_get_n_pages( VipsImage *image )
if( vips_image_get_typeof( image, VIPS_META_N_PAGES ) &&
!vips_image_get_int( image, VIPS_META_N_PAGES, &n_pages ) &&
n_pages > 1 &&
n_pages < 1000 )
n_pages < 10000 )
return( n_pages );
return( 1 );