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 &&
|
if( tw->im->Coding != VIPS_CODING_LABQ &&
|
||||||
!tw->onebit &&
|
!tw->onebit &&
|
||||||
TIFFTileSize( tw->tif ) != VIPS_IMAGE_SIZEOF_LINE( tw->im ) ) {
|
TIFFScanlineSize( tw->tif ) !=
|
||||||
|
VIPS_IMAGE_SIZEOF_LINE( tw->im ) ) {
|
||||||
vips_error( "vips2tiff",
|
vips_error( "vips2tiff",
|
||||||
"%s", _( "unsupported image format" ) );
|
"%s", _( "unsupported image format" ) );
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user