Been trying so many different things.... I have a bunch of images that I want to load with JSL, but I really only need the square of 200 x 200 pixels in the top-left corner. I tried looking up examples of the Crop() function, but haven't had any success. Can anyone give me a nice 1-liner of how to get the top-left 200 x 200 pixels of an image using this feature?
Thank you!
Part of another project that needed to trim 3 pixels all around...
img = ( report(gb)[framebox( 1 )] )<
fullsize = img<
// crop the 3 pixel border and the border line. A little trial-and-error...
img<
Did you see the example in 'Help > Scripting Index' (search for 'crop')?