fix coordinate error in affine
see https://github.com/jcupitt/libvips/issues/131
This commit is contained in:
parent
1772588eb6
commit
d01beb5411
@ -4,6 +4,7 @@
|
||||
Alessandro
|
||||
- fix a crash in vips_rawsave(), thanks Andrea
|
||||
- updated German translation, thanks Chris
|
||||
- fix coordinate error in affine, thanks ferryfax
|
||||
|
||||
24/2/14 started 7.38.5
|
||||
- jpeg load from buffer could write to input, thanks Lovell
|
||||
|
@ -416,8 +416,8 @@ vips_affine_build( VipsObject *object )
|
||||
window_offset =
|
||||
vips_interpolate_get_window_offset( affine->interpolate );
|
||||
|
||||
affine->trn.iarea.left = window_offset;
|
||||
affine->trn.iarea.top = window_offset;
|
||||
affine->trn.iarea.left = 0;
|
||||
affine->trn.iarea.top = 0;
|
||||
affine->trn.iarea.width = in->Xsize;
|
||||
affine->trn.iarea.height = in->Ysize;
|
||||
affine->trn.a = ((double *) affine->matrix->data)[0];
|
||||
|
Loading…
Reference in New Issue
Block a user