Merge branch '8.10'

This commit is contained in:
John Cupitt 2020-08-31 14:10:43 +01:00
commit a3dfa3911e
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
- stop 0-length buffer being passed to imagemagick [lovell]
- convert no-profile CMYK to RGB on save [augustocdias]
- ensure SVG loader skips input with chars outside x09-x7F range [lovell]
- better mask sizing in gaussmat [johntrunc]
24/1/20 started 8.10.0
- more conformat IIIF output from dzsave [regisrob]

View File

@ -129,7 +129,7 @@ vips_gaussmat_build( VipsObject *object )
vips_error( class->nickname, "%s", _( "mask too large" ) );
return( -1 );
}
width = 2 * x - 1;
width = 2 * VIPS_MAX( x - 1, 0 ) + 1;
height = gaussmat->separable ? 1 : width;
vips_image_init_fields( create->out,