oop thumbnail sharpen could turn off for int shrinks
This commit is contained in:
parent
5fae2763a5
commit
caede02a22
@ -1,6 +1,8 @@
|
|||||||
12/5/10 started 7.22.2
|
12/5/10 started 7.22.2
|
||||||
- the conditional image of ifthenelse can be any format, a (!=0) is added if
|
- the conditional image of ifthenelse can be any format, a (!=0) is added if
|
||||||
necessary
|
necessary
|
||||||
|
- oops vipsthumbnail sharpening was turning off for integer shrinks,
|
||||||
|
thanks Nicolas
|
||||||
|
|
||||||
12/5/10 started 7.22.1
|
12/5/10 started 7.22.1
|
||||||
- fix a problem with tiff pyramid write and >1cpu, thanks Ruven
|
- fix a problem with tiff pyramid write and >1cpu, thanks Ruven
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
* - and the mask coefficients were messed up
|
* - and the mask coefficients were messed up
|
||||||
* 26/5/10
|
* 26/5/10
|
||||||
* - delete failed if there was a profile
|
* - delete failed if there was a profile
|
||||||
|
* 4/7/10
|
||||||
|
* - oops sharpening was turning off for integer shrinks, thanks Nicolas
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
@ -235,7 +237,7 @@ shrink_factor( IMAGE *in, IMAGE *out,
|
|||||||
/* If we are upsampling, don't sharpen, since nearest looks dumb
|
/* If we are upsampling, don't sharpen, since nearest looks dumb
|
||||||
* sharpened.
|
* sharpened.
|
||||||
*/
|
*/
|
||||||
if( residual < 1.0 && !nosharpen ) {
|
if( shrink > 1 && residual <= 1.0 && !nosharpen ) {
|
||||||
if( verbose )
|
if( verbose )
|
||||||
printf( "sharpening thumbnail\n" );
|
printf( "sharpening thumbnail\n" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user