Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add paste images #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add paste images #173

wants to merge 1 commit into from

Conversation

Staars
Copy link

@Staars Staars commented Oct 31, 2019

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

@amitguptagwl
Copy link
Member

Can you please add some GIF to demonstrate your changes?

@Staars
Copy link
Author

Staars commented Nov 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants