Ticket #1274 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Capture Image plugin does not work

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b4-plugins
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1171, #1339

Description (last modified by bdezonia) (diff)

IJ1's Capture Image utility command does not work correctly. It grabs image data from the wrong application sometimes. Looking at the internals of IJ1's ScreenGrabber.java it references ImageWindows and low level canvases and these likely don't exist in a good state. We need a pure IJ2 version of Capture Image and maybe of Capture Screen.

Change History

comment:1 Changed 8 years ago by bdezonia

Note that IJ2 has ImageCapture and ImageGrabber. Each of them only captures the canvas view (one with and the other without overlay graphics). The IJ1 Capture Image also captures the whole window's graphics (window frame, status label, etc.).

comment:2 Changed 8 years ago by bdezonia

  • Description modified (diff)

comment:3 Changed 8 years ago by bdezonia

  • Blocking 1339 added

comment:4 Changed 8 years ago by bdezonia

  • Blocking 1171 added

comment:5 Changed 8 years ago by bdezonia

There is currently a stub plugin whose implementation needs to be fleshed out called CaptureImage.java

comment:6 Changed 8 years ago by bdezonia

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

With commit ef6c7631b0fa0d0bb93fd8c3f20973b9505728b1 the rewrite of the Capture Image plugin is complete.

Note: See TracTickets for help on using tickets.