<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - "Profile Plot Options..." exception via macro/batch mode"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=752">bug 752</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>ctrueden@wisc.edu
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - "Profile Plot Options..." exception via macro/batch mode"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=752#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - "Profile Plot Options..." exception via macro/batch mode"
href="http://fiji.sc/bugzilla/show_bug.cgi?id=752">bug 752</a>
from <span class="vcard"><a class="email" href="mailto:ctrueden@wisc.edu" title="Curtis Rueden <ctrueden@wisc.edu>"> <span class="fn">Curtis Rueden</span></a>
</span></b>
<pre>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...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>