Open Sethur opened 9 months ago
Please provide a small macro I can use to reproduces this bug.
@rasband Sorry for the slow response. Here is a macro for reproduction:
run("CT (16-bit DICOM)");
run("Fire");
run("In [+]");
run("In [+]");
run("In [+]");
run("In [+]");
run("In [+]");
run("In [+]");
makeRectangle(488, 212, 26, 34);
run("Calibration Bar...", "location=[At Selection] fill=None label=White number=5 decimal=0 font=12 zoom=0.3 overlay");
This will create a misrendered calibration bar in the top right of the zoomed part of the image. The misrendering happens when low zoom factors are set in the calibration bar tool (such as the 0.3 here), which is needed for high zoom levels.
ImageJ v1.54e Windows 10 x64 Java 11.0.14.1.
Description
When adding a Calibration Bar via Analyze->Tools and setting a low zoom level of, e.g., 0.1 (which is often necessary when adding calib. bars to very zoom in content), the calibration bar is not drawn correctly any more. As shown in the image below, the colored stripes protrude through the black border: