-
Notifications
You must be signed in to change notification settings - Fork 43
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
[request] Blur tool #17
Comments
Thanks for the feedback @cyrinux . Snappy on macOS does not have a blur tool. Could you describe a little more what you'd want? |
Hi @jtheoof , I use before ksnip https://github.com/ksnip/ksnip you can see on this page a presentation of some tool. |
Thanks @cyrinux I'll see how I can do that with cairo |
The blur algorithm is largely inspired from Kristian Høgsberg & Chris Wilson in [this file](https://www.cairographics.org/cookbook/blur.c/) Closes #17
The blur algorithm is largely inspired from Kristian Høgsberg & Chris Wilson in [this file](https://www.cairographics.org/cookbook/blur.c/) Closes #17
The blur algorithm is largely inspired from Kristian Høgsberg & Chris Wilson in [this file](https://www.cairographics.org/cookbook/blur.c/) Closes #17
The blur algorithm is largely inspired from Kristian Høgsberg & Chris Wilson in [this file](https://www.cairographics.org/cookbook/blur.c/) Closes #17
@cyrinux I hacked around blur and cairo over the weekend. It's not perfect, cursor and performance need some more love. But should do the trick if you don't abuse blurring. Let me know what you think. |
Hi @jtheoof , thanks ! After I can suggest to make it even better:
Thanks you very much its already functional ;) 💯 |
Thank you very much @jtheoof! I'll add just a couple of points from my side too:
|
Thanks for the feedback guys, I'll reopen the issue and work on improving the blurring in future work. |
Use a rectangle to blur instead of brushes. Does not improve the performance that much, will come in a later patch. Will fix the UX of the feature though. Closes #17
Use a rectangle to blur instead of brushes. Does not improve the performance that much, will come in a later patch. Will fix the UX of the feature though. Closes #17
Use a rectangle to blur instead of brushes. Does not improve the performance that much, will come in a later patch. Will fix the UX of the feature though. Closes #17
Thank you very much @jtheoof! I can tell you that the "usage experience" is just perfect now, rectangle is truly what we needed. It works well on my scaled display as well now 👍 If you are still not sick of us and seeking for further improvement ideas (😄), one thing I would change is "strength" of the blur. Here's an example of me applying blur N times to try to hide the text, I would argue that even after 5 times the blurred text can be recognized. I have two ideas: either simply play with constants to make the blur a lot more aggressive, or replace blur with pixelate algorithm? A random example of what it might look like: |
I just saw that blur level is actually configurable, with |
OK thanks I'll play around to provide more effective blur. EDIT: The problem is more noticeable on scaled displays because the fonts are so crisp. Takes more pass to actually blur effectively. I'll think of a more UI friendly way to blur than just smashing the blur level |
See #22 |
Hi @jtheoof cool yes its smoother for me, and icon is better :-) |
I agree @jtheoof, it is amazing now, thank you once again for your improvements! |
Hi,
First thanks for this cool project !
Cool you please add the basic blur tool in swappy?
Best regards
The text was updated successfully, but these errors were encountered: