Ticket #448 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Zoom bug: zoom to rect

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0-alpha2
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:


Zooming to a selected rectangle is not accurate. This functionality can be tested by selecting the ZoomTool and dragging out a rectangle over the currently displayed image. Note the UI is not in place to see the rect you have dragged. But the code should work. It instead zooms near the desired region. The ZoomTool code is not the problem. The problem lies in SwingNavigableImageCanvas.

Change History

comment:1 Changed 9 years ago by bdezonia

  • Status changed from new to accepted

After Curtis zoom code rewrite this method is still somewhat broken. A negative scale possibility was avoided already. But choosing a zoom rect does not zoom to fit exactly. It is possible to choose a rect and actually zoom out a little.

comment:2 Changed 9 years ago by bdezonia

  • Status changed from accepted to closed
  • Resolution set to fixed


Note: See TracTickets for help on using tickets.