Hi there,
I am having trouble generating a multispectral image when I select my .ARW (RAW Sony image) file. The error messages read:
No Image
There are no images open in line 63
run(“32-bit”<)>;
No Image
PhotoID = getImageID ( <)>;
and below is the Log Error:
Temporary file could not be deleted
Location: C:\Users\Me\Downloads\_DSC0890.ARW.tiff
and below is the Exception:
ImageJ 1.53e; Java 1.8.0_172 [64-bit]; Windows 10 10.0; 363MB of 18386MB (1%)
java.lang.NegativeArraySizeException
at ij.io.ImageReader.readRGB48(ImageReader.java:594)
at ij.io.ImageReader.readPixels(ImageReader.java:820)
at ij.io.FileOpener.readPixels(FileOpener.java:541)
at ij.io.FileOpener.open(FileOpener.java:118)
at ij.io.FileOpener.openImage(FileOpener.java:53)
at ij.io.Opener.openTiff2(Opener.java:1043)
at ij.io.Opener.openTiff(Opener.java:846)
at ij.io.Opener.openImage(Opener.java:317)
at ij.io.Opener.openImage(Opener.java:243)
at ij.io.Opener.open(Opener.java:109)
at ij.IJ.open(IJ.java:1851)
at ij.macro.Functions.open(Functions.java:2989)
at ij.macro.Functions.doFunction(Functions.java:158)
at ij.macro.Interpreter.doStatement(Interpreter.java:278)
at ij.macro.Interpreter.doBlock(Interpreter.java:712)
at ij.macro.Interpreter.doStatement(Interpreter.java:323)
at ij.macro.Interpreter.doIf(Interpreter.java:1090)
at ij.macro.Interpreter.doStatement(Interpreter.java:299)
at ij.macro.Interpreter.doStatements(Interpreter.java:264)
at ij.macro.Interpreter.run(Interpreter.java:160)
at ij.macro.Interpreter.run(Interpreter.java:93)
at ij.macro.Interpreter.run(Interpreter.java:104)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:162)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:146)
at ij.plugin.Macro_Runner.run(Macro_Runner.java:61)
at ij.IJ.runPlugIn(IJ.java:209)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at ij.IJ.run(IJ.java:322)
at ij.IJ.run(IJ.java:333)
at ij.macro.Functions.doRun(Functions.java:686)
at ij.macro.Functions.doFunction(Functions.java:98)
at ij.macro.Interpreter.doStatement(Interpreter.java:278)
at ij.macro.Interpreter.doBlock(Interpreter.java:712)
at ij.macro.Interpreter.doStatement(Interpreter.java:323)
at ij.macro.Interpreter.doIf(Interpreter.java:1090)
at ij.macro.Interpreter.doStatement(Interpreter.java:299)
at ij.macro.Interpreter.doBlock(Interpreter.java:712)
at ij.macro.Interpreter.doStatement(Interpreter.java:323)
at ij.macro.Interpreter.doFor(Interpreter.java:634)
at ij.macro.Interpreter.doStatement(Interpreter.java:305)
at ij.macro.Interpreter.doStatements(Interpreter.java:264)
at ij.macro.Interpreter.run(Interpreter.java:160)
at ij.macro.Interpreter.run(Interpreter.java:93)
at ij.macro.Interpreter.run(Interpreter.java:104)
at ij.plugin.Macro_Runner.runMacro(Macro_Runner.java:162)
at ij.plugin.Macro_Runner.runMacroFile(Macro_Runner.java:146)
at ij.plugin.Macro_Runner.run(Macro_Runner.java:61)
at ij.IJ.runPlugIn(IJ.java:209)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)
Help is greatly appreciated.
Kindest regards,
Joel
It seems the software doesn’t have permission to delete the temporary file used by the RAW conversion process. Try renaming the file (remove the leading underscore) and try moving it to a different location. Windows might well be protecting that directory from other software deleting files.