Skip to content
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

fix PNG interlacing #15219

Merged
merged 2 commits into from Dec 3, 2019
Merged

fix PNG interlacing #15219

merged 2 commits into from Dec 3, 2019

Conversation

Findus23
Copy link
Member

@Findus23 Findus23 commented Dec 2, 2019

fixes #15216

According to https://tex.stackexchange.com/a/472462/66733 this bug is triggered in libpng when opening PNG files with Interlacing.

Find all interlaced PNGs in plugins/Morpheus/images:

identify -verbose *.png | grep Interlace

Remove interlacing:

mogrify -interlace none logo*

Remove execution rights (while we are at it):

chmod -x logo*

optimize the PNG losslessy:

optipng -o 9 logo*.png

Let's hope noone has a internet connection slow enough that they can watch single pixel appear while loading a 4KB image (who would benefit from interlacing).

@tsteur
Copy link
Member

tsteur commented Dec 2, 2019

@Findus23 cheers for that. Looks like a few installation screenshots need to be updated: https://builds-artifacts.matomo.org/matomo-org/matomo/3.x-dev/37208/ Will you have time for this?

@tsteur tsteur added this to the 3.13.1 milestone Dec 2, 2019
@tsteur tsteur added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Dec 2, 2019
@Findus23
Copy link
Member Author

Findus23 commented Dec 3, 2019

@tsteur Should be done ✔️

@tsteur
Copy link
Member

tsteur commented Dec 3, 2019

Cheers @Findus23

@tsteur tsteur merged commit 070232b into 3.x-dev Dec 3, 2019
@tsteur tsteur deleted the fix-png-interlacing branch December 3, 2019 21:58
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Our logo triggers lib png when sending scheduled report
2 participants