~ubuntu-branches/ubuntu/trusty/vips/trusty-proposed

« back to all changes in this revision

Viewing changes to libvips/iofuncs/sinkscreen.c

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2014-03-29 12:29:29 UTC
  • mfrom: (1.1.21) (30.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20140329122929-fvxnaann32ex0gzk
Tags: 7.38.5-2
Enable dh-autoreconf. (Closes: #742872)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1067
1067
        }
1068
1068
 
1069
1069
        if( vips_image_pio_input( in ) ||
1070
 
                vips_image_copy_fields( out, in ) )
 
1070
                vips_image_pipelinev( out, 
 
1071
                        VIPS_DEMAND_STYLE_SMALLTILE, in, NULL ) )
1071
1072
                return( -1 );
1072
 
        vips_demand_hint( out, VIPS_DEMAND_STYLE_SMALLTILE, in, NULL );
1073
1073
 
1074
1074
        if( mask ) {
1075
 
                if( vips_image_copy_fields( mask, in ) )
 
1075
                if( vips_image_pipelinev( mask, 
 
1076
                        VIPS_DEMAND_STYLE_SMALLTILE, in, NULL ) )
1076
1077
                        return( -1 );
1077
 
                vips_demand_hint( mask, VIPS_DEMAND_STYLE_SMALLTILE, in, NULL );
1078
1078
 
1079
1079
                mask->Bands = 1;
1080
1080
                mask->BandFmt = VIPS_FORMAT_UCHAR;