Loading a zipped set of ROIs over an URL connection

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

Loading a zipped set of ROIs over an URL connection

Jörg Czwoydzinski
Hi,

I'm having problems loading a zipped set of ROIs over an URL connection. The
same file works fine if I load it from my harddrive. A quick look into the
source code of Imagej showed that importing zipped ROIs over URL seems to be
not implemented yet.

In package ij.io file Opener.java function openZip() you can find the
following code:

        if (name.endsWith(".roi")) {
                in.close();
                IJ.runMacro("roiManager(\"Open\", getArgument());", path);
                return null;
        }

I miss some code like this in function openZipUsingUrl(). Maybe this could
be added easily?

Jörg