fengyuanchen / photo-editor

A simple photo editing application.
https://fengyuanchen.github.io/photo-editor
MIT License
936 stars 238 forks source link

Add the ability to paste an image from the clipboard by issuing CTRL+V #40

Closed danm1-cmyk closed 3 years ago

danm1-cmyk commented 3 years ago

It allows pasting image content from the clipboad. (I.e. from a photo application running on the PC or from another web page into the browser window.) It doesn't allow copy-pasting files directly directly from the file system .The browsers have this limitation for security reasons.

My use case: I scan documents with my scanner application. I save the documents to disk and then I import them in the photo editor by browsing. With my change now I can just copy/paste the contents from one place to another without additional steps.

The second use case: I want to import an image from Facebook or from Whatsapp. I have to first save it to disk and then browse it from the photo editor. With my change now I just right-click on the image, issue "copy image", click on the photo editor and hit CTRL-V.

fengyuanchen commented 3 years ago

Are you sure it works?