nion-software / nionswift

Nion Swift is open source scientific image processing software integrating hardware control, data acquisition, visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on Windows, Linux, and macOS.
http://nion.com/swift
GNU General Public License v3.0
44 stars 33 forks source link

Feature Request - copy image to clipboard #1166

Open SeanK59 opened 3 weeks ago

SeanK59 commented 3 weeks ago

Ctrl+v to copy selected image from display panel to clipboard.

cmeyer commented 3 weeks ago

What are you trying to accomplish?

Edit > Copy already copies an SVG version of the display panel and you can paste into applications that accept the 'image/svg+xml' mime type, although the Qt backend seems to have a bug on at least macOS preventing this from working properly due to clipboard permissions or something.

Also, the menu item Processing > Duplicate duplicates a data item.

If you're asking to make a version of the image in JPEG form, copy has the same questions as exporting to JPEG - what resolution do you use for the image? You may not follow that discussion, but this becomes an issue if there are graphics on the image or if it is a line plot.