Comments (9)
In the next version (to be released) I made an important change to help with this issue:
When copying more than one file, the optimisation does not happen.
I think that would fix your use case without needing additional permissions, and a lot of complexity on my part.
Would you like to try a beta?
from clop.
So your ideal case would be:
- Cmd-C: copy and don't trigger Clop
- Cmd-Opt-V: move what was copied as normal
- Cmd-V: paste optimised image
There would be no way to paste a non-optimised image.
Am I understanding this correctly? I'd like to try an implementation but I want to be sure I have the requirements right.
from clop.
I decided to not add Accessibility Permissions (for now). Mostly because of time constraints, it took a lot of time to do the priority features and fixes for 2.2.0 and I have to take a break.
I added it to my todo list. Until then, 2.2.0 fixes part of this problem by:
- ignoring Cmd-C of multiple files
- having an option to add optimised files from watched dirs to clipboard
- providing the global Ctrl-Shift-P hotkey for pausing Clop for the next Cmd-C
from clop.
I appreciate your answer :)
That sounds like an improvement. While I’d be happy to give it a try, moving one file is still a use case for me.
I prefer my apps to be “set it and forget it”, and this would be an edge case that I’d have to keep in mind.
Tbh my ideal use case would be to have flameshot screenshots automatically optimize when I copy them to the clipboard, and nothing else. But I don’t see a way of doing just that 🤔
Perhaps a hotkey to “Enable clipboard optimization for next one”? But that’s a different request altogether 😄
from clop.
Curious if you already know about the Pause hotkey in Clop (Ctrl-Shift-P by default). It's the opposite of what you asked for, you press it before copying a file, and Clop ignores that file.
from clop.
I’ve seen it, but like I mentioned, I don’t want to have to remember hotkeys for specific tasks.
Even with the opposite hotkey, for enabling optimization for the next clipboard, I would just write a Hammerspoon automation so I wouldn’t have to think about it.
It’s not really feasible to do it with the Pause option :/
from clop.
Personally, I would like to only optimize images that are going to leave my computer (when I'm sending them over the network, so that they get sent faster).
I don't know if this would be everyone's use case.
So, at least for me, what you described seems mostly accurate. But if you had a way of telling when Cmd
-V
is being used locally (in Finder), and not trigger an optimization, that would be even better. As it would allow me to keep the original copy/paste/move functionality, while making image transfers online (mostly screenshots to illustrate a point) a lot more efficient.
Does that make sense?
As I wrote this, I actually remembered another option: If clop could watch a directory (where I can set my screenshot tool to send images automatically), and automatically optimize any new images and add them to the clipboard. That might be a simpler approach. For my use case at least 🤔
from clop.
It's quite complex to identify a local vs network paste. I'll look into it.
The folder watching part is already implemented, check out Clop's settings under the Images tab.
The watched optimized files are not added to clipboard automatically yet, I have to implement that, but you can at least drag the thumbnail result.
from clop.
Thanks for considering this feature, I appreciate it :)
from clop.
Related Issues (20)
- Install with Homebrew? HOT 1
- PNGs are converted to JPG HOT 3
- Finder funniness HOT 2
- It empties encrypted PDF HOT 1
- Can it be compatible with macOS 12 ? HOT 1
- Wrong link to your License HOT 1
- Optimization failed HOT 2
- The location of the pop-up window is uncomfortable HOT 9
- Optimizing Image Compression with Clop: A Workflow Enhancement HOT 3
- Optimises the same file in a never-ending loop HOT 3
- Respect Strip EXIF Metadata for video optimisation HOT 2
- Feature Request: Crop videos HOT 2
- Feature Request: Optional guetzli image compression HOT 1
- PDF compression: Chinese text becomes garbled HOT 2
- Could this support macOS 12 (Monterey)? HOT 2
- pro version? HOT 4
- disable auto-optimize HOT 3
- Survey ImageOptim output and utilize best practices? And more... HOT 4
- Clop & Clipboard: redundant optimising when saving screenshots HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clop.