getFileType - openUsingPlugins

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

getFileType - openUsingPlugins

jwcnmr
Running ImageJ from within Eclipse from source, I find that in trying to open a single TIFF file,
I always get the error "File is not in TIFF, JPEG..."

I note that the getFileType method is called, but that it checks for not java, and not txt

if (openUsingPlugins && !path.endsWith(".txt") &&  !path.endsWith(".java"))
                        return UNKNOWN;

and thus always returns UNKNOWN.

Why is openUsingPlugins true and how  do unset it?  If I make it false by changing the code, the TIFF file reads in fine.