Login  Register

Re: Leftover dialog when opening custom format as virtual stack in 1.52u

Posted by Wayne Rasband-2 on Mar 20, 2020; 3:52am
URL: http://imagej.273.s1.nabble.com/Leftover-dialog-when-opening-custom-format-as-virtual-stack-in-1-52u-tp5023048p5023073.html

> On Mar 18, 2020, at 7:49 AM, Alan Brooks <[hidden email]> wrote:
>
> I maintain a plugin for opening a custom raw file format as a virtual stack.
> In 1.52t, it works fine.
>
> In 1.52u, it opens the image but also throws up a modal/blocking dialog with
> title "Opener" and content "File is not in a supported format, a reader
> plugin is not available, or it was not found." (see attached screenshot)
>
> <http://imagej.1557.x6.nabble.com/file/t379688/NotSupported.png>
>
> I suspect this has something to do with an underlying change in the
> HandleExtraFileTypes infrastructure in 1.52u. I enable my custom raw format
> plugin as such in HandleExtraFileTyes.java (checking for some magic byte
> characters because unfortunately the files I am dealing with end with the
> ambiguous file extension `.raw`):

This regression is fixed in the ImageJ 1.52v2 daily build. I introduced this bug when I modified ImageJ’s built in TIFF reader to pass files it is unable to open to Bio-Formats via HandleExtraFileTypes.

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