getFileType - openUsingPlugins
Posted by jwcnmr on Oct 17, 2008; 7:05pm
URL: http://imagej.273.s1.nabble.com/getFileType-openUsingPlugins-tp3694713.html
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.