easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.35k stars 167 forks source link

[Feature request] Copy image to clipboard (not copy file to clipboard) #491

Open mengfanbocz opened 1 year ago

mengfanbocz commented 1 year ago

Using "copy file to clipboard" and then paste in the new image window of Outlook, the image file is pasted as an attachmeng to the email. Another function needed is to copy the image to clipboard, so it can be pasted to the email as an image in the email body. This is the default behavior of many image reviewers with Ctrl-C, for example FastStone Image Viewer.

zymelaii commented 1 year ago

This feature seems already implemented (namely action copyFileClipboard) and works well on bmp/jpeg/png/gif/svg etc.

qimgv/core.cpp Core::copyFileClipboard()

And it does copy the image MIME data rather than copy the orignal file. I try to paste the copied image from qimgv to many apps, e.g. social media, onenote, email and most of them works well.

zymelaii commented 1 year ago

Maybe this issue can be closed?

mengfanbocz commented 1 year ago

Thanks but it still doesn't work on My Outlook in MS 365 Apps Version 2302. It does work with Word, etc. But for Outlook, when I paste the copied image to a new mail, it's added as an attachment instead of an image. Other image viewers, for example Paint.net, works as fine.

Please let me know if there's anything I can try to help diagnose.