Hi Jaykris, you can use this line:
...
saveAs("Jpeg", path+"Image name.jpg");
...
Wher you have to substitute the variable "path" with correct value.
You can also get this value (if window of your image is selected) using following line:
...
path=getDirectory("image");
...
So the final code will be:
...
path=getDirectory("image");
saveAs("Jpeg", path+"Image name.jpg");
...
Greetings,
Rocco
Senior Microscopist
Crick Advanced Light Microscopy facility (CALM)
The Francis Crick Institute
1 Midland Road, NW1 1AT, London (UK)
https://roccodant.github.io/