fix --sharpen=none
thanks ferryfax
This commit is contained in:
parent
de0448b53d
commit
bf2acf2621
@ -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
|
||||
|
@ -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 )) ||
|
||||
|
Loading…
Reference in New Issue
Block a user