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 #1243 (closed defect: fixed)

Opened 2012-06-25T13:22:36-05:00

Last modified 2012-07-02T16:32:02-05:00

Fix flatten code

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b3-headless
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1252

Description

The IJ2 version of flatten (contained in SwingOverlayManager) cannot capture JHotDraw embellishment. Change the code to grab the complete contents of the current window as a merged color Dataset. This would make us less reliant on JHotDraw and would fully replicate IJ1's functionality.

Change History

comment:1 Changed 2012-06-26T10:35:07-05:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Status changed from new to assigned

I have pushed a proposed fix to the fix-flatten branch on github. Curtis please review and merge if you think it's fine.

comment:2 Changed 2012-06-26T10:36:40-05:00 by bdezonia

Note that in the captured image ellipses do not draw with the exact same number of line segments. Will need to investigate.

comment:3 Changed 2012-06-26T10:51:15-05:00 by bdezonia

For more history see also #1229

comment:4 Changed 2012-06-26T11:10:54-05:00 by bdezonia

  • Blocking 1252 added

comment:5 Changed 2012-07-02T16:31:56-05:00 by bdezonia

  • Owner changed from curtis to bdezonia

Curtis reviewed and pushed.

comment:6 Changed 2012-07-02T16:32:02-05:00 by bdezonia

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