oops, don't copy header fields

in prev commit
This commit is contained in:
John Cupitt 2017-02-20 13:42:19 +00:00
parent abf6a250c2
commit 3f92cfc935
1 changed files with 7 additions and 1 deletions

View File

@ -740,7 +740,13 @@ im_wrapmany( IMAGE **in, IMAGE *out, im_wrapmany_fn fn, void *a, void *b )
if( vips_image_pio_input( in[i] ) )
return( -1 );
}
vips_image_pipeline_array( out, VIPS_DEMAND_STYLE_THINSTRIP, in );
/* Don't call vips_image_pipeline_array(), we don't want to copy
* fields.
*/
vips__demand_hint_array( out, VIPS_DEMAND_STYLE_THINSTRIP, in );
if( vips__reorder_set_input( out, in ) )
return( -1 );
/* Generate!
*/