08.08.14, 15:24
Hi there, I'm working on a school project and I've been trying to get Scriptographer to place a raster image from a file but even as I start with a basic script
function onMouseDown(event) {
var file = new java.io.File('/images/mono_R.jpg');
var raster = new Raster(file);
}
it gives me an error
Error: Unable to create placed item.
at tools/mono.js:3
This all might be something I'm doing wrong but I looked all over the site for more information but couldn't find anything or any examples