NaturalIntelligence / imglab

To speedup and simplify image labeling/ annotation process with multiple supported formats.
https://solothought.com/imglab/
MIT License
977 stars 596 forks source link

add paste images #173

Open Staars opened 4 years ago

Staars commented 4 years ago

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

Best regards

amitguptagwl commented 4 years ago

Can you please add some GIF to demonstrate your changes?

Staars commented 4 years ago

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