I'm trying to do a script in basil.js to duplicate an image and cut/crop the image inside the frame. In the basil.js reference (http://basiljs.ch/reference/) I don't find a function to move the image inside the Indesign frame.
#includepath "~/Documents/;%USERPROFILE%Documents";
#include "basiljs/bundle/basil.js";
function draw() {
for(var n=0; n<800; n+=100){
for (var c=0; c<800; c+=100){
var img = b.image('image-example.jpg', n, c, 100, 100);
}
}
}
b.go();
Anyone have an idea how do this with basil.js or java code ? Thanks
try something like this for placing an image and moving its inner position within a rect: