Bio-Formats batch conversion problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bio-Formats batch conversion problem

xanibas
The ImageJ Bio-format Import plugin converts LEICA files to tiff images without problems.
Conversly when I try to use the Bio-Formats command line tool, the LEICA file is not read correctly!

>> bash showinf inputFile.lei

Checking file format [Leica]
Initializing reader
        Reading metadata blocks
        Parsing metadata blocks
        Handling renamed TIFF files
        Handling renamed TIFF files
        ...
        Populating metadata
Exception in thread "main" java.lang.IllegalArgumentException: Invalid series: 0
        at loci.formats.FormatReader.setSeries(FormatReader.java:638)
        at loci.formats.MetadataTools.populatePixels(MetadataTools.java:428)
        at loci.formats.MetadataTools.populatePixels(MetadataTools.java:378)
        at loci.formats.in.LeicaReader.initFile(LeicaReader.java:901)
        at loci.formats.FormatReader.setId(FormatReader.java:901)
        at loci.formats.ImageReader.setId(ImageReader.java:588)
        at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:448)
        at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:809)
        at loci.formats.tools.ImageInfo.main(ImageInfo.java:838)

any ideas?

Alternatively how do I write a macro in ImageJ that gives me the list of all the files currently open, so that i can save them sequentially? thanks in advance