Thanks Steve, it works like a charm
(note, "interpolation" should be one of: BILINEAR,BICUBIC,LBB,Nohalo,VSQBS)
Cheers
Doug
Doug wrote:
>
>The command line to rotate by 90 (and similarly for 180 and 270)
>degrees is
described in the manual as:
>
>vips im_rot90 in.png out.png
>
>
>
>However, nip2 has the additional feature to rotate by an arbitrary
>amount (say 7.5 degrees)
>But there seems to be no such command as the one below:
>
>
>vips im_rotate in.png out.png 7.5 <--- command not recognized
-----------------
Steve wrote:
Yes, the command is "im_affinei_all"
For arbitrary rotation:
$ vips im_affinei_all in_file out_file interpolation cos_angle sin_angle sin_angle cos_angle 0 0
|