|
Bugzilla – Bug 761 |
ImageJ macro getDirectory function fails when using SCIFIO for image I/O |
Last modified: 2014-06-09 11:35:44 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| ImageJ macro getDirectory function fails when using SCIFIO for image I/O | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
|||||
The following ImageJ macro code should print the directory for an open image:- imageName = getTitle(); dir = getDirectory("image"); print(dir); This fails using Fiji, which recently prompted me to use SCIFIO for all image I/O if I am not mistaken. When I use vanilla ImageJ it works fine, and if I un-tick, Edit->Options->Use SCIFIO when opening image files it also works fine. Apologies if I have not categorised this bug correctly (could not see a SCIFIO category), or if I should've reported it elsewhere. I suspect it does mean a lot of macros are likely to fail using Fiji with default options though. Graeme PS. screenshot attachedCreated attachment 157 Screenshot of getDirectory() macro code working in ImageJ, failing with Fiji/SCIFIO