godot
godot copied to clipboard
Standardize and optimize icon SVG
Optimize icon.svg and base derivative icons on the same SVG path
Resulting optimization:
icon.svg7,722B -> 797Bproject_icon.svg3,773B -> 849BDefaultProjectIcon.svg4,173B -> 921B
Note, DefaultProjectIcon's 128x128 base dimensions are preserved. The other two icons should be resized as needed, so no default dimension was set.
I really don't like how "icon.svg" looks here. If the intent was to make it follow the aspects of the other icon, I think that one should be modified instead.
@YeldhamDev it's funny that you mention that, since icon.svg is the reference so the new version is pretty much identical. Here's a side-by-side:

I'm talking about the paddings in the "DefaultProjectIcon.svg" icon.
Why did the face color change? Before #478cbf, after #4488cc.
The color is part of Godot's branding and shouldn't be changed.
Edit: You also seem to have changed the eye color (also part of the branding) and the project icon background color (doesn't matter as much, but it's another arbitrary change without documented motivation).
e4b662c reverts the 12bit color optimization and the padding change noted by @YeldhamDev
@YeldhamDev @akien-mga is there anything blocking this PR from getting approved?
@AndreVallestero Are the file size numbers in the OP up-to-date? Can you show before/after images?
icon.svg 7,722B -> 804B project_icon.svg 3,773B -> 907B DefaultProjectIcon.svg 4,173B -> 911B
Before and after images can be previewed here: https://github.com/godotengine/godot/pull/68598/files
I would also make viewBox match the fixed height and width on all three of the images. Other than that, it looks fine.
@MewPurPur You can probably pick up the torch and finish this PR, keeping the original author as a co-author :) It's been quite some time since my feedback.
Mhm. On a second thought, it's fine to use a BG overlay for the mouth, as long as its edges don't overlap with blue edges.
Superseded by #78015. Thanks for your contribution!