I'm trying to convert image files into OME-TIFF file using ConvertToOmeTiff.java.
I successfully comiled the source code using loci_tools.jar and ome-xml.jar (both are trunk build version)
But when I run it, I got the following run time error messages.
java ConvertToOmeTiff img_1_d.tiff
Converting img_1_d.tiff to img_1_d.ome.tif java.lang.IllegalArgumentException: Output stream expected to be not-null
at loci.formats.tiff.TiffSaver.<init>(TiffSaver.java:74)
at loci.formats.out.TiffWriter.saveBytes(TiffWriter.java:119)
at loci.formats.out.TiffWriter.saveBytes(TiffWriter.java:214)
at loci.formats.out.OMETiffWriter.saveBytes(OMETiffWriter.java:224)
at ConvertToOmeTiff.main(ConvertToOmeTiff.java:55)
any ideas?