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

Strip non-free ICC profile and fix test #5811

Closed
wants to merge 2 commits into from
Closed

Strip non-free ICC profile and fix test #5811

wants to merge 2 commits into from

Conversation

kapouer
Copy link
Contributor

@kapouer kapouer commented Mar 20, 2016

Fixes #5749
It might be a good idea to mention somewhere that when adding a picture into the project,
it is safer to remove potentially non-free profiles by doing:

convert myfile.jpg +profile "icc" myfile.jpg

@kapouer
Copy link
Contributor Author

kapouer commented Mar 20, 2016

I kept the picture instead of using some already included logo, because

  1. it's been around for years, perhaps some people got attached to it
  2. it's a picture of someone - maybe @ry himself ? it's more human than a logo 😉

@mscdex mscdex added the test Issues and PRs related to the tests. label Mar 20, 2016
@MylesBorins
Copy link
Contributor

@kapouer this seems to have conflicts landing against master. Could you rebase your branch and force push please

@kapouer
Copy link
Contributor Author

kapouer commented Mar 20, 2016

Huuu.. i cleaned up these old forks and made another PR.

@kapouer kapouer closed this Mar 20, 2016
JakubVanek added a commit to JakubVanek/zeroelabviewer_pkg that referenced this pull request Sep 16, 2024
Currently, Zero eLab Viewer prints the following warning message during
startup:

> libpng warning: iCCP: known incorrect sRGB profile

The CTU logo PNGs contain the IEC61966-2.1 color profile. This profile
reportedly can cause problems [1] and is non-free [2].

To resolve the issue and stop the warning, this commit alters the images
to remove the color profile. Visually, the images look the same in GIMP.
The files were updated using the following command [3]:

$ convert image.png +profile "icc" image.png

[1]: https://github.com/pnggroup/libpng/blob/68d7ce8040a611e9166890e02ecc409a03d76c2e/png.c#L2372
[2]: google/cadvisor#915
[3]: nodejs/node#5811
JakubVanek added a commit to JakubVanek/zeroelabviewer_pkg that referenced this pull request Sep 16, 2024
Currently, Zero eLab Viewer prints the following warning message during
startup:

> libpng warning: iCCP: known incorrect sRGB profile

The CTU logo PNGs contain the IEC61966-2.1 color profile. This profile
reportedly can cause problems [1] and is non-free [2].

To resolve the issue and stop the warning, this commit alters the images
to remove the color profile. The images look the same in GIMP.
The files were updated using the following command [3]:

```
$ convert image.png +profile "icc" image.png
```

[1]: https://github.com/pnggroup/libpng/blob/68d7ce8040a611e9166890e02ecc409a03d76c2e/png.c#L2372
[2]: google/cadvisor#915
[3]: nodejs/node#5811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants