imagej / imagej/ImageJ

Calibration Bar under Analyze->Tools does now draw correctly with low zoom factors.

Open
#240 2 comments 0 reactions 0 assignees View on GitHub
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:

![image](https://github.com/imagej/ImageJ/assets/2142589/ef3fc2c4-79fc-4d98-9ae0-c8fef018460c)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.