Search code examples
macrosimagej

Opening a .fit file in an ImageJ macro


I'm looking to open a series of .fit files and re-save them as Jpegs in ImageJ using a macro. I'm a complete novice to code-writing in ImageJ so may have done something wrong. The error message I get coming up can be seen, along with my code, in the picture below:

enter image description here

I've double checked: the file is definitely in that location and I can still have ImageJ open it if I just double-click on it in the folder. Any ideas why this is going wrong?


Solution

  • Solved: for all "/" in the file address I replaced with "\\".