fix --sharpen=none

thanks ferryfax
This commit is contained in:
John Cupitt 2014-02-13 08:42:59 +00:00
parent de0448b53d
commit bf2acf2621
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
13/2/14 started 7.38.4
- --sharpen=none option to vipsthumbnail was broken, thanks ferryfax
22/1/14 started 7.38.3
- undeprecate VIPS_MASK_IDEAL_HIGHPASS and friends, ruby-vips was using them,
thanks ahacking

View File

@ -608,15 +608,15 @@ thumbnail_write( VipsImage *im, const char *filename )
static int
thumbnail_process( VipsObject *process, const char *filename )
{
VipsImage *sharpen = thumbnail_sharpen( process );
VipsImage *in;
VipsInterpolate *interp;
VipsImage *sharpen;
VipsImage *thumbnail;
VipsImage *crop;
if( !(in = thumbnail_open( process, filename )) ||
!(interp = thumbnail_interpolator( process, in )) ||
!(sharpen = thumbnail_sharpen( process )) ||
!(thumbnail =
thumbnail_shrink( process, in, interp, sharpen )) ||
!(crop = thumbnail_crop( process, thumbnail )) ||