oop, don't always set pyramid
This commit is contained in:
parent
3888026ca2
commit
1fffc6a4de
|
@ -155,7 +155,7 @@ im_vips2tiff( IMAGE *in, const char *filename )
|
||||||
if( im_isprefix( "pyramid", q ) )
|
if( im_isprefix( "pyramid", q ) )
|
||||||
pyramid = TRUE;
|
pyramid = TRUE;
|
||||||
else if( im_isprefix( "flat", q ) )
|
else if( im_isprefix( "flat", q ) )
|
||||||
pyramid = TRUE;
|
pyramid = FALSE;
|
||||||
else {
|
else {
|
||||||
im_error( "im_vips2tiff", _( "unknown multi-res mode "
|
im_error( "im_vips2tiff", _( "unknown multi-res mode "
|
||||||
"\"%s\"\nshould be one of \"flat\" or "
|
"\"%s\"\nshould be one of \"flat\" or "
|
||||||
|
|
Loading…
Reference in New Issue