Skip to content
Snippets Groups Projects
Commit 21f733c0 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Fix bug from missing reset of display range

parent 53a028c3
No related branches found
No related tags found
No related merge requests found
......@@ -538,6 +538,7 @@ function mapTo8bitPreservingSaturation(effectiveBits) {
msg = msg + " (dividing pixel values by " + divisor + ")";
logd(msg);
run("Divide...", "value=" + divisor + " stack");
setMinAndMax(0, 255);
run("8-bit");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment