imglab icon indicating copy to clipboard operation
imglab copied to clipboard

add paste images

Open Staars opened this issue 6 years ago • 2 comments

Purpose / Goal

Convenience function for my work flow. I have to label medical images on a PACS-Workstation, which does not have a nice and fast image-file export. But copy-and-paste works quite handy and it is easier to save the images from IMGLAB to the target directory. Maybe the latter can be improved later.

This is not widely tested and I would have to remove some console.log()-stuff before a possible merge.

Type

  • [ ] Bug Fix
  • [ ] Refactoring / Technology upgrade
  • [x ] New Feature
  • [ ] Documentation
  • [ ] Other : | Please Specify |

Best regards

Staars avatar Oct 31 '19 16:10 Staars

Can you please add some GIF to demonstrate your changes?

amitguptagwl avatar Nov 03 '19 10:11 amitguptagwl

The UI is not changed, although I must admit, that I wanted to add a little icon. But the problem is, that we need the paste-event to access the clipboard for security reasons, at least I did not find another way.

At the moment it is a simple implementation.

  1. Copy image from the source application to the clipboard.
  2. Change focus to imglab window.
  3. Paste.

imglab_paste

Staars avatar Nov 03 '19 10:11 Staars