oop fix tiff2vips change

y is relative
This commit is contained in:
John Cupitt 2018-08-19 04:26:24 +01:00
parent 10d1aeb6f2
commit fdafb4de5f
1 changed files with 1 additions and 1 deletions

View File

@ -1942,7 +1942,7 @@ rtiff_stripwise_generate( VipsRegion *or,
/* Shut down the input file as soon as we can.
*/
if( y >= or->im->Ysize )
if( r->top + y >= or->im->Ysize )
rtiff_free( rtiff );
VIPS_GATE_STOP( "rtiff_stripwise_generate: work" );