Using Bio-Formats to save as TIFF
Posted: Tue Jul 03, 2012 8:36 am
Hello,
When trying to use the exporter to save files as TIFF I get the following error.
Note that file "ttt.tif" has just been created, I was not trying to rewrite a previous file.
Any help is appreciated.
Best, Oli
When trying to use the exporter to save files as TIFF I get the following error.
Note that file "ttt.tif" has just been created, I was not trying to rewrite a previous file.
Any help is appreciated.
java.io.FileNotFoundException: C:\Users\oburri\Desktop\Dutto\ttt.tif (The process cannot access the file because it is being used by another process)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:114)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:125)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:134)
at loci.common.Location.getHandle(Location.java:294)
at loci.common.Location.getHandle(Location.java:265)
at loci.common.RandomAccessOutputStream.<init>(RandomAccessOutputStream.java:54)
at loci.formats.out.TiffWriter.setupTiffSaver(TiffWriter.java:402)
at loci.formats.out.TiffWriter.setId(TiffWriter.java:133)
at loci.plugins.out.Exporter.run(Exporter.java:526)
at loci.plugins.LociExporter.run(LociExporter.java:75)
at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:256)
at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:105)
at ij.IJ.runUserPlugIn(IJ.java:187)
at ij.IJ.runPlugIn(IJ.java:152)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ij.Command.runPlugIn(Command.java:146)
at ij.Command.runCommand(Command.java:95)
at ij.Executer.run(Executer.java:64)
at java.lang.Thread.run(Thread.java:662)
Best, Oli