I was using Ubuntu 10.04, and unfortunately, affine isn't defined on a
VImage in the package of VIPS they have. I downloaded the source for
VIPS 7.24.3, and it worked then.
--
Kyle Mulka
http://www.kylemulka.com
On Thu, Mar 17, 2011 at 7:16 PM, <[log in to unmask]> wrote:
> 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
>
|