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

Replaced test image to avoid copyrighted color space #6062

Merged
merged 1 commit into from Feb 17, 2022

Conversation

radarhere
Copy link
Member

In #4591, there is a report that

Tests/images/pillow3.icns looks like it contains a colour space copyright 1998 Hewlett-Packard Company; unclear how licensed.

The purpose of this image is to be an ICNS file containing JPEG2000 images. The only other times the relevant part of Pillow is hit by our test suite is in test_icns_decompression_bomb and test_fuzzers.py.

So I opened up another of our test images, pillow.icns, modified Pillow to save it with JPEG2000 images inside instead of PNG, and thus have a replacement file for pillow3.icns. This will still contain JPEG2000 images, but without the text "Copyright (c) 1998 Hewlett-Packard Company".

@hugovk hugovk merged commit b4e487b into python-pillow:main Feb 17, 2022
@radarhere radarhere deleted the copyright branch February 17, 2022 07:20
@radarhere radarhere mentioned this pull request Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants