Ticket #1243 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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 7 years ago 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 7 years ago 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 7 years ago by bdezonia

For more history see also #1229

comment:4 Changed 7 years ago by bdezonia

  • Blocking 1252 added

comment:5 Changed 7 years ago by bdezonia

  • Owner changed from curtis to bdezonia

Curtis reviewed and pushed.

comment:6 Changed 7 years ago by bdezonia

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.