rewind images after write

after sinkdisc or sinkmemory, we need to rewind the image we wrote to so
that subsequent reads get the written image and don't regenerate it
This commit is contained in:
John Cupitt 2015-04-18 17:46:29 +01:00
parent da1611e070
commit 04feec359f

View File

@ -742,6 +742,11 @@ vips_image_generate( VipsImage *image,
if( res )
return( -1 );
/* We've written to image ... rewind it ready for reading.
*/
if( vips_image_pio_input( image ) )
return( -1 );
break;
default: