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

« back to all changes in this revision

Viewing changes to libvips/conversion/grid.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:
166
166
                return( -1 );
167
167
        }
168
168
 
169
 
        if( vips_image_copy_fields( conversion->out, grid->in ) )
170
 
                return( -1 );
171
169
        /* We can render small tiles with pointer copies.
172
170
         */
173
 
        vips_demand_hint( conversion->out, 
174
 
                VIPS_DEMAND_STYLE_SMALLTILE, grid->in, NULL );
 
171
        if( vips_image_pipelinev( conversion->out, 
 
172
                VIPS_DEMAND_STYLE_SMALLTILE, grid->in, NULL ) )
 
173
                return( -1 );
175
174
        conversion->out->Xsize = grid->in->Xsize * grid->across;
176
175
        conversion->out->Ysize = grid->tile_height * grid->down;
177
176