-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Optimize various SVGs #2130
Optimize various SVGs #2130
Conversation
…outline SVG image
qt5 didn't like the transform attribute I added previously, but this should work as well - just not as reliably. Better than before both commits in any case though
Thanks! I'll get this checked out a bit more and then merged. Do you think we should regenerate the png's based on these new svg's? |
I think regenerating the PNGs won't make any difference. You're free to try, but don't say I wasted your time, @borgmanJeremy ;P |
We are going to have a beta of V11 soon, probably by the end of the weekend. Do you think this will be ready by then? |
I think you refer to the picture tgat is shown while setting a keyboard shortcut. In config when changing a keyboard shortcut a windows opens to capture what keys you press and in that windows a keyboard picture is displayed. |
@borgmanJeremy I think it's already ready… I originally wanted to do the rest too (except for the keyboard one) but I got sick recently & haven't fully recovered. Besides, the rest are mostly fine, just a few standard compliance issues and slightly non-optimal paths. And some empty paths. But nothing major as far as I can see. I can always open another PR later. @mmahmoudian Yes, that's the one. Thanks! Not sure what purpose it serves though, as it kinda just sits there… Maybe a symbol of a single key would be better there? I can open a PR for that once I feel better. |
@RiedleroD I hope you recover soon. Regarding the current keyboard symbol, I'm not sure if changing it would help, but I'm personally open for suggestions |
Thanks!! |
* first 3 optimizations * minified 5 more SVGs * minimized the delete icon even more * minified white variants of previously minified SVGs * removed unneccessary xml header from circlecount-outline SVG * optimized invert icons * optimized open_with SVG * optimized the alignment SVGs * optimized pin SVGs * optimized mouse-off SVGs * optimized flameshot icon SVG * optimized more instances of the flameshot icon SVG * optimized SVG 'marker' * fixed problems with weird default fonts messing with the circlecount-outline SVG image * whoops forgot to recolor a white icon * different approach to 3f73efa qt5 didn't like the transform attribute I added previously, but this should work as well - just not as reliably. Better than before both commits in any case though * somewhat decreased size & complexity of the keyboard SVG * optimized monochrome flameshot icon * optimized format-text SVG * optimized SVG icon 'graphics' * optimized SVG icon 'format_bold' * optimized SVG icon 'colorize' * optimized SVG icon 'config' * optimized icon 'redo-variant' * optimized SVG icon 'cloud-upload' * optimized SVG icon 'arrow-bottom-left' * optimized SVG icon 'circle-outline' * optimized SVG icon 'content-copy' * optimized SVG icon 'content-save' * optimized SVG icon 'cursor-move' * optimized SVG icon 'exit-to-app' * optimized SVG icon 'format_italic' * optimized SVG icon 'format_strikethrough' * optimized SVG icon 'format_underlined'
This reverts commit a00df9c.
bruh what the hell |
@borgmanJeremy good that you tested it before releasing the v0.11.0 It would have be chaotic in the issues section 😅 |
do you by any chance use an old(er) version of rsvg on windows? I know it has some problems with parsing shorthand numbers in elliptical arcs, so if that could be fixed instead, that'd be cool. edit: I know for a fact that version 2.40 has this problem bc wikipedia uses it & I always have to work around that there. edit2: specifically this bug. |
I'll look into which version I'm using. My windows box is fully up to date and I'm using the latest qt LTS. |
MacOs has the same issue actually. |
@borgmanJeremy I'm trying to test it rn but I can't compile for windows - there's no compilation documentation for windows in the readme and using the instructions for debian on WSL Ubuntu doesn't work. Logs are attached. Can't test for MacOS because I don't have OSX at hand, but let's hope it's the same problem on both systems. |
Building on windows is a freaking a pain IMO :) I usually download the community version of Qt and Qt Creator. Then you can open the project as a CMake project in Qt creator. |
@borgmanJeremy I can't get it to work... can you please build it on your end and send me the binary? |
Every pull request builds all artifacts, so if you submit a PR you can download the artifacts |
I improved many of the project's SVGs to the best of my abilites - although I left some out, either due to minimal possible improvement or due to massive amounts of work being required.
Some things I improved
(might be even better after the commits I've pushed after writing this, but I'm too sick to check rn)
Some things I messed up