.NET and bio-formats issues
Posted: Sun May 19, 2013 4:28 pm
Dear all,
I am currently working on a C# application (windows, .NET, visual c#, 32 bitys), and I'd like to use bio-format as an universal way to load images generated by automated imaging platform. To do so I downloaded bio-formats.jar as well as loci_tools.jar and converted them as dll using ikvmc. Expect a long list of warning during the conversion everything seems fine. Those .dll have been referenced in my project, and as a test, I tryed to load JPEG and TIFF files using the basic following piece of code:
loci.formats.@in.TiffReader MyTiffReader = new loci.formats.@in.TiffReader();
MyTiffReader.setId(FileName);
everything is working well except that it takes forever to load a regular image (more than 30 sec. for a 300*300, 1 band image)... The same thing is happening for JPG !! I tryed more a less everthing to fix this, but nothing is changing !!
Does anybody experienced the same issue ?
Thanks for your help.
Thierry
I am currently working on a C# application (windows, .NET, visual c#, 32 bitys), and I'd like to use bio-format as an universal way to load images generated by automated imaging platform. To do so I downloaded bio-formats.jar as well as loci_tools.jar and converted them as dll using ikvmc. Expect a long list of warning during the conversion everything seems fine. Those .dll have been referenced in my project, and as a test, I tryed to load JPEG and TIFF files using the basic following piece of code:
loci.formats.@in.TiffReader MyTiffReader = new loci.formats.@in.TiffReader();
MyTiffReader.setId(FileName);
everything is working well except that it takes forever to load a regular image (more than 30 sec. for a 300*300, 1 band image)... The same thing is happening for JPG !! I tryed more a less everthing to fix this, but nothing is changing !!
Does anybody experienced the same issue ?
Thanks for your help.
Thierry