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:
parent
da1611e070
commit
04feec359f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user