http://fiji.sc/bugzilla/show_bug.cgi?id=752
Curtis Rueden <ctrue...@wisc.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrue...@wisc.edu --- Comment #7 from Curtis Rueden <ctrue...@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.
_______________________________________________ ImageJ-devel mailing list ImageJ-devel@imagej.net http://imagej.net/mailman/listinfo/imagej-devel