Skip to content

Fix transparency issue in all Opera browser icons #22

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

Closed
wants to merge 1 commit into from
Closed

Fix transparency issue in all Opera browser icons #22

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 11, 2020

@Findus23 This pull request updates the current Opera browser icons, which all have unwanted whitespace in them, to be fully transparent. You can see the difference by opening the example images below in a new tab.

The new browser icons are all sourced from https://github.com/alrra/browser-logos.

Current icon
OH

New icon
OH

Edit: Here's also a screenshot from Matomo v3.14.1 showing the current icon's whitespace issue:

icon

Signed-off-by: Aaron <admin@datahoarder.dev>
@Findus23
Copy link
Collaborator

Hi,

Many thanks for noticing the issue.

Unfortunately fixing it is a bit more complicated. I use a bash script to automatically (and reproducibly) convert the images from the src/ directory (which in this case is a symlink to the opera logos from https://github.com/alrra/browser-logos) using imagemagic.

But for whatever weird reason, when you add e.g. a green border to the logo using

convert opera.png -bordercolor green -border 1x1 out.png

it replaces all existing transparency with green.

I fixed this now in f85567c which should not only fix the opera icons, but a lot of others too.
grafik

@Findus23 Findus23 closed this Sep 11, 2020
@ghost ghost deleted the update-icons branch September 11, 2020 11:26
@ghost
Copy link
Author

ghost commented Nov 29, 2020

@Findus23 Just wanted to confirm that the issue is fixed in Matomo 4.0+. Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant