Calibration Bar under Analyze->Tools does now draw correctly with low zoom factors.
- Dominant language
- Java
- Stars
- 786
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
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:

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in ImageJ v1.54e on Windows with a low zoom factor such as 0.1, using Analyze > Tools > Calibration Bar. Trace the calibration-bar rendering entry point and verify that the colored stripes no longer protrude through the black border at low zoom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100