Macro problem with Rotate...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Macro problem with Rotate...

Wayne Rasband
 > 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.

This bug is fixed in today's daily build (1.43k4). Any of the macro
commands

    run("Rotate...", "angle=15 grid=1 interpolation=Bilinear");
    run("Rotate... ", "angle=15 grid=1 interpolation=Bilinear");
    run("Arbitrarily...", "angle=15 grid=1 interpolate");

will rotate the image 15 degrees. Use

    run("Rotate...", "angle=15");

to rotate the selection 15 degrees.

-wayne