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

Clipboard support #414

Closed
cachius opened this issue Jun 8, 2023 · 2 comments
Closed

Clipboard support #414

cachius opened this issue Jun 8, 2023 · 2 comments

Comments

@cachius
Copy link

cachius commented Jun 8, 2023

It would be really handy to have clipboard support. 📋

I take a lot of screenshots to paste directly into various messengers. The default PNG encoding of macOS is so bloated 🎈 that often more than half can be shaved off 🪒 using ImageOptim at 60% quality with OxiPNG.

Unfortunately, the manual file-based approach of taking the screenshot to a file, dragging it into ImageOptim and then copying it to the clipboard is too cumbersome in practice. Thus all those reduntant bytes are getting sent, clogging up disk space on both sides forever.

It would be great if ImageOptim could detect when a screenshot is taken to the clipboard and optimize it on the fly. 🖼️🪄

@MikeRich88
Copy link

Even if you manage to optimize the clipboard PNG, you would then have to make sure that the messenger app doesn't recompress it again for whatever reason (which would make it larger again).

I have observed Messages.app on macOS recompressing PNGs, converting PNGs to JPEGs, and every once in a while, it will decide to send an uncompressed (!!!) TIFF in the message. (this might be because I pasted an image and the clipboard only had a TIFF version for some reason, but I have not been able to reproduce consistently).

@cachius
Copy link
Author

cachius commented Aug 16, 2024

when a screenshot is taken to the clipboard optimize it on the fly

I found Clop doing exactly this.
It also has a folder watcher mode in the Pro version.
Repo is over at https://github.com/FuzzyIdeas/Clop

@cachius cachius closed this as completed Aug 16, 2024
@cachius cachius closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
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

2 participants