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

Allow for copying the compressed image #1371

Open
gBasil opened this issue Jun 28, 2023 · 3 comments
Open

Allow for copying the compressed image #1371

gBasil opened this issue Jun 28, 2023 · 3 comments

Comments

@gBasil
Copy link

gBasil commented Jun 28, 2023

When using Squoosh, I usually end up just downloading the image, copying and pasting it somewhere in the browser, and then deleting the file. It would be a lot nicer if it would be possible to just copy the compressed image in order to avoid that song and dance.

@surma
Copy link
Collaborator

surma commented Jul 4, 2023

You can right click -> copy image

Screenshot 2023-07-04 at 12 24 37

However, keep in mind that image clipboards in most OSes will copy the bitmap, not the compressed binary data. So while you will get resizing applied and will get the compression artifacts, you won’t get the compression benefits wrt file size.

@gBasil
Copy link
Author

gBasil commented Jul 4, 2023

So while you will get resizing applied and will get the compression artifacts, you won’t get the compression benefits wrt file size.

Ah, that's unfortunate. 😅 I was more thinking about an event handler for ctrl+c that would write the fully compressed file to the clipboard.

@seguri
Copy link

seguri commented Sep 6, 2023

@surma is it only the right-click "copy image" suffering from this issue, or also an eventual "copy" button implemented alongside the download one?

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

No branches or pull requests

3 participants