Macro problem with Rotate...

2 messages Options
Embed this post
Permalink
Bill Mohler

Macro problem with Rotate...

Reply Threaded More More options
Print post
Permalink
The new Rotate... command does not seem scriptable now in macros, as it
was back when it was called Angle...
Angle... seems not to be in the macro command set anymore.

For example:

run("Rotate...", "angle=" + 248 +" grid=1 interpolation=Bicubic  enlarge
stack");

rotates the R0I outline , but not the selected pixels, and it not
enlarge the canvas to fit the rotated array or work through the stack.
In contrast, all of those things happen fine using Menu> dialog.

I'm using the current daily build.

Bill
Gabriel Landini

Re: Macro problem with Rotate...

Reply Threaded More More options
Print post
Permalink
On Monday 02 November 2009  13:21:09 Bill Mohler wrote:

> The new Rotate... command does not seem scriptable now in macros, as it
> was back when it was called Angle...
> Angle... seems not to be in the macro command set anymore.
>
> For example:
>
> run("Rotate...", "angle=" + 248 +" grid=1 interpolation=Bicubic  enlarge
> stack");
>
> rotates the R0I outline , but not the selected pixels, and it not
> enlarge the canvas to fit the rotated array or work through the stack.
> In contrast, all of those things happen fine using Menu> dialog.
>
> I'm using the current daily build.

There is a subtle difference between "Rotate..." and "Rotate... ".
One rotates the ROI and the other the whole image.
It drove me mad too...

Cheers,

G.