small tiff write fix
from recent reworking
This commit is contained in:
parent
dfe2ddf6c5
commit
35e8e63829
@ -1169,7 +1169,8 @@ write_tif_stripwise( TiffWrite *tw )
|
||||
*/
|
||||
if( tw->im->Coding != VIPS_CODING_LABQ &&
|
||||
!tw->onebit &&
|
||||
TIFFTileSize( tw->tif ) != VIPS_IMAGE_SIZEOF_LINE( tw->im ) ) {
|
||||
TIFFScanlineSize( tw->tif ) !=
|
||||
VIPS_IMAGE_SIZEOF_LINE( tw->im ) ) {
|
||||
vips_error( "vips2tiff",
|
||||
"%s", _( "unsupported image format" ) );
|
||||
return( -1 );
|
||||
|
Loading…
Reference in New Issue
Block a user