Hi Kyle,
On 17 March 2011 22:38, Kyle Mulka <[log in to unmask]> wrote:
> I'm trying to port code that previously used VIPS 7.10 to VIPS 7.20. I
> was calling the affine function on a VImage. It looks like that is
> deprecated now, but I can't find the replacement. I looked in the
In C++ the supported thing is still VImage::affine().
The replacement is im_affinei(), which does the same thing but lets
you pass in an interpolator (bilinear, bicubic, etc.). This hasn't yet
been wrapped for C++, since we have a new framework coming which
should handle this automatically, hopefully.
In the meantime, either continue to use VImage::affine(), or drop out
to plain C and use im_affinei().
John
|