jscher2000 / Save-webP-as-extension

Firefox extension to overlay format and JPEG quality buttons on inline or stand-alone images for quickly saving a converted version of the image.
Mozilla Public License 2.0
43 stars 1 forks source link

feature request: allow copy to clipboard as image type #22

Open tkolstee opened 1 year ago

tkolstee commented 1 year ago

Just downloaded your extension. Thanks for making it!

Instead of saving an image to disk, sometimes I want to copy it from one app into another.

If the source image is WEBP, and the app I'm pasting into only support JPEG, for example, I still have to save and re-open/import/copy the file. The step of converting and re-saving is eliminated, but this would enable a much simpler workflow.

jscher2000 commented 1 year ago

I would like to add this, if I can figure out how to do it. Firefox's screenshot feature can populate the image onto the clipboard (not compressed, but pasteable into any Windows app), so hopefully I can learn from that.

jscher2000 commented 10 months ago

The initial implementation is a button to copy to the clipboard in PNG format. A possible future variation would be to set a different preferred format or choose among multiple formats. However, this is what I could manage for version 1.4 (under review at AMO).