Number of decimals in calibration bar is sometimes not respected

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Number of decimals in calibration bar is sometimes not respected

Stein Rørvik
Hello,

I have encountered what appears to be a bug in the Calibration Bar function.
Please open the two attached images and run this simple macro:

--------------------------------------------------------------------------------
options = "location=[Upper Right] fill=White label=Black number=5 decimal=0 font=12 zoom=1 overlay show";
selectImage("image1.tif");
run("Calibration Bar...", options);
selectImage("image2.tif");
run("Calibration Bar...", options);
--------------------------------------------------------------------------------

The number is specified to be zero (no decimals) but the second image still gets two decimals.

The difference between these two images is basically only that the image content is placed differently on the canvas in image2.

Stein

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

image1.tif (176K) Download Attachment
image2.tif (176K) Download Attachment