Hi Alan,

ImageJ does not support drag-and-drop of folders—they are always handled in
a hardcoded way that cannot delegate to HandleExtraFileTypes. Some Fiji
devs actually did some exploratory work recently to make it possible to
support drag-and-dropping folders in Fiji (thanks to imagej-legacy's
bytecode patching of ij), but it is not yet merged and released.

- https://github.com/scijava/scijava-common/pull/473
- https://github.com/imagej/imagej-legacy/pull/302

Unfortunately, in our most recent testing (in Oct 2023), we found it was
not yet working as intended, and I believe no one has had time to work
further on it for the moment. I may revisit it in April 2024 at an upcoming
BigDataViewer/ImgLib2 hackathon, we'll see.

Regards,
Curtis

On Wed, Jan 17, 2024 at 11:14 AM Alan Brooks <[email protected]> wrote:

> I'm looking for advice on how one might trigger a custom plugin that
> treats an entire folder of multi-frame files as a virtual stack. I have
> written up a plugin that does that but was not able to figure out how to
> integrate it with HandleExtraFileTypes. For now I just made a button to
> call the plugin directly but would be curious to find how to support it via
> drag-and-dropping the folder.
>
> Thanks,
> Alan
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to