<html>
<head>
<base href="http://fiji.sc/bugzilla/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:wsr@nih.gov" title="Wayne Rasband <wsr@nih.gov>"> <span class="fn">Wayne Rasband</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Possible error when down-converting from 32- or 16-bit-depth images (to 16- or 8-bit)."
href="http://fiji.sc/bugzilla/show_bug.cgi?id=931">bug 931</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>wsr@nih.gov
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Possible error when down-converting from 32- or 16-bit-depth images (to 16- or 8-bit)."
href="http://fiji.sc/bugzilla/show_bug.cgi?id=931#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Possible error when down-converting from 32- or 16-bit-depth images (to 16- or 8-bit)."
href="http://fiji.sc/bugzilla/show_bug.cgi?id=931">bug 931</a>
from <span class="vcard"><a class="email" href="mailto:wsr@nih.gov" title="Wayne Rasband <wsr@nih.gov>"> <span class="fn">Wayne Rasband</span></a>
</span></b>
<pre>You can disable scaling when down-converting by unchecking "Scale when
converting" in Edit>Options>Conversions. The example macro below outputs
'Scale when converting' checked
8: 8-248
32: 8-248
8: 0-255
'Scale when converting' not checked
8: 8-248
32: 8-248
8: 8-248
// test "Scale when converting" option
setBatchMode(true);
run("Conversions...", "scale");
print("'Scale when converting' checked");
run("Blobs (25K)");
printRange();
run("32-bit");
printRange();
run("8-bit");
printRange();
print("'Scale when converting' not checked");
run("Conversions...", " ");
run("Blobs (25K)");
printRange();
run("32-bit");
printRange();
run("8-bit");
printRange();
function printRange() {
getStatistics(area, mean, min, max);
print(bitDepth+": "+min+"-"+max);
}</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>