From 01765df53c7ca80cfc8a32849fe9adc700bd33de Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 25 Sep 2020 12:52:31 +0200 Subject: [PATCH 1/2] Fix test failure on ARM-based Windows The optional parameters of vips_gaussnoise were incorrectly passed within vips_fractsurf. This was discovered when running the libvips testsuite on Windows 10 IoT (ARM32). --- libvips/create/fractsurf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libvips/create/fractsurf.c b/libvips/create/fractsurf.c index aa87709f..5b146fa8 100644 --- a/libvips/create/fractsurf.c +++ b/libvips/create/fractsurf.c @@ -74,8 +74,10 @@ vips_fractsurf_build( VipsObject *object ) if( VIPS_OBJECT_CLASS( vips_fractsurf_parent_class )->build( object ) ) return( -1 ); - if( vips_gaussnoise( &t[0], - fractsurf->width, fractsurf->height, 0.0, 1.0, NULL ) || + if( vips_gaussnoise( &t[0], fractsurf->width, fractsurf->height, + "mean", 0.0, + "sigma", 1.0, + NULL ) || vips_mask_fractal( &t[1], fractsurf->width, fractsurf->height, fractsurf->fractal_dimension, NULL ) || vips_freqmult( t[0], t[1], &t[2], NULL ) || From cdae2c19953f1e79355a0d33e1b1739599966956 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 25 Sep 2020 12:43:04 +0100 Subject: [PATCH 2/2] note fractsurf fix in changelog --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index fb59284e..1f75af7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ - pdfload allows dpi and scale to both be set [le0daniel] - allow gaussblur sigma zero, meaning no blur - better heif signature detection [lovell] +- fix vips_fractsurf() typo [kleisauke] 9/8/20 started 8.10.1 - fix markdown -> xml conversion in doc generation