Copy link to clipboard
Copied
Please share js code for crop and rotate any image in adobe illustrator
Hi, I am sure for crop, but for rotate, you can use following code
var _item = app.selection[0];
_item.rotate(37, true, true, true,true, Transformation.CENTER);
Reference to follow to change the parameters
https://www.indesignjs.de/extendscriptAPI/illustrator-latest/#PageItem.html#d1e56027__d1e56704
Copy link to clipboard
Copied
Can any one reply on this from Adobe illustrator team?
Copy link to clipboard
Copied
Hi, I am sure for crop, but for rotate, you can use following code
var _item = app.selection[0];
_item.rotate(37, true, true, true,true, Transformation.CENTER);
Reference to follow to change the parameters
https://www.indesignjs.de/extendscriptAPI/illustrator-latest/#PageItem.html#d1e56027__d1e56704
Copy link to clipboard
Copied
Copy link to clipboard
Copied
How can i saved any cropped image in our local folder using js in adobe illustrator?