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

Updated libwebp to 0.6.1 #2880

Merged
merged 2 commits into from
Dec 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tests/test_file_webp_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_write_unsupported_mode_PA(self):
image.getdata()
target = Image.open(file_path).convert("RGBA")

self.assert_image_similar(image, target, 10.0)
self.assert_image_similar(image, target, 25.0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a pretty big jump for a .0.1 release, are we sure that we're not missing something there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/webmproject/libwebp/blob/master/NEWS

Here's a copy of the generated file from my local machine using 0.6.1.
transparent

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea where those issues actually reside on the web, other than not on github, and not in the repo it's cloned from.

Anyway, it looks like there was a YUV->RGB change in 0.52 that could potentially account for that.



if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion depends/install_webp.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# install webp

archive=libwebp-0.6.0
archive=libwebp-0.6.1

./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz

Expand Down
6 changes: 3 additions & 3 deletions winbuild/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
'version': '8.6.7',
},
'webp': {
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz',
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.6.0.tar.gz',
'dir': 'libwebp-0.6.0',
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.6.1.tar.gz',
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.6.1.tar.gz',
'dir': 'libwebp-0.6.1',
},
'openjpeg': {
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.3.0/openjpeg-2.3.0.tar.gz',
Expand Down