Application icon cleanup#2270
Application icon cleanup#2270justinclift merged 1 commit intosqlitebrowser:masterfrom scottfurry:icon_cleanup
Conversation
Ensure images used for application icon are a "best quality" image with consistent square size. A sharp, square image is vital for downstream usage/installation. File `images/logo.svg` was taken as canonical source. File was edited in inkscape. It's document properties were cleaned up(incl. image metadata). Document viewport was made to be a large size and square(256px^2). Image itself was resized to ensure an 8px margin. File `images/logo.png` was created from svg (inkscape `export to png` command). Image was generated with high compression as well as ensuring an alpha layer and square sizing. File `src/icons/sqlitebrowser.png` was copied from `images/logo.png`.
|
@justinclift - recommend editing ...to: This should ensure the generated icon file has sharp and crisp images rather than scaled, fuzzy images derived from a lossy, binary source. |
|
Is |
|
Suggestion was to use svg image in the |
|
No worries, wasn't 100% sure. Came back from local Makerspace last night in brain-dead-tired-state. 😄 |
|
Just added that script tweak, and the newly generated windows icon from it in: ba1c2a1 Thanks heaps @scottfurry. 😄 |
|
Hmmm, something is wrong with the newly generated windows icon (all white bg). Seems like an alpha channel problem, but not sure. Discovered when doing final verification of the new v3.12.0-rc1 binaries on Windows. 😦 I'll back out the change there, and regenerate the binaries using the older icon. That'll give us time to figure out what's wrong, and have it fixed in the .1 release. 😄 |
|
@justinclift - this looks like an |
|
Changes below. The extra "MAGICK_CMDS" are things that convert needs BEFORE identifying the image (and why everything went pear shape for us). |
|
Thanks. Would you be ok to chuck it in a PR so I can just hit the Merge button on it? 😄 |
|
PR to follow |


Ensure images used for application icon are a "best quality" image
with consistent square size. A sharp, square image is vital for downstream
usage/installation.
File
images/logo.svgwas taken as canonical source. File was edited ininkscape. It's document properties were cleaned up(incl. image metadata).
Document viewport was made to be a large size and square(256px^2).
Image itself was resized to ensure an 8px margin.
File
images/logo.pngwas created from svg (inkscapeexport to pngcommand). Image was generated with high compression as well as ensuring
an alpha layer and square sizing.
File
src/icons/sqlitebrowser.pngwas copied fromimages/logo.png.