NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1313 (new defect)

Opened 2012-07-11T11:28:14-05:00

Last modified 2012-10-10T14:00:11-05:00

Pencil tool not working at extremes

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b8-analysis
Component: Tools Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1457

Description (last modified by bdezonia)

Make a new 1-bit 5x5 image filled with 0.
Set Options > Channels fg to 1 and bg to 0.
Zoom up on the 5x5 image so that it fills a decent part of screen (32X is fine).
Select the pencil tool (and then right click on tool to verify width == 1)
Draw with tool.
Nothing is drawn.

(This might just be a drawing in binary error due to truncing. Or it could be an off by some pixels due to zoomed up and bad coord calx. Not sure.)

Change History

comment:1 Changed 2012-07-11T11:30:13-05:00 by bdezonia

  • Description modified

comment:2 Changed 2012-07-11T11:36:26-05:00 by bdezonia

Later testing: cannot duplicate situation where nothing is drawn. But somehow the fg & bg both reported being set to 0 when in fact they had been set to 1 and 0. Lurking bug?

Once that was straightened out drawing happens but can't reach border pixels. And drawing happens one row lower than mouse location.

Last edited 2012-07-11T11:37:18-05:00 by bdezonia

comment:3 Changed 2012-07-17T16:41:00-05:00 by bdezonia

  • Blocking 1345 added

comment:4 Changed 2012-09-07T11:01:09-05:00 by bdezonia

  • Blocking 1457 added; 1345 removed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:5 Changed 2012-10-10T14:00:11-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta6 to imagej-2.0.0-beta7