[ImageJ-devel] [Bug 752] "Profile Plot Options..." exception via macro/batch mode
bugzilla at fiji.sc
bugzilla at fiji.sc
Sat Jun 14 21:09:40 CDT 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=752
Curtis Rueden <ctrueden at wisc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ctrueden at wisc.edu
--- Comment #7 from Curtis Rueden <ctrueden at wisc.edu> ---
Apologies for letting this sit for so long. We have been swamped fixing
ImageJ2-related issues.
I tried your macro with your data, using the command:
$FIJI_DIR/Contents/MacOS/ImageJ-macosx --headless -macro bryan.ijm
Where "bryan.ijm" is your macro:
run("Profile Plot Options...", "width=450 height=200 minimum=0 maximum=0
interpolate");
open("data.jpg");
run("Plot Profile");
saveAs("Jpeg", "profile.jpg");
On my system, this gives the error:
Unsupported format or not found
File is not in a supported format, a reader
plugin is not available, or it was not found.
So I changed "data.jpg" to "data.png" and then received:
Line or rectangular selection required
So I added a makeLine call:
run("Profile Plot Options...", "width=450 height=200 minimum=0 maximum=0
interpolate");
open("data.png");
makeLine(18, 36, 252, 15);
run("Plot Profile");
saveAs("Jpeg", "profile.jpg");
And _then_ I finally see the exception you reported.
Investigating now...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140615/4bec0f48/attachment.html>
More information about the ImageJ-devel
mailing list