mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
commit
c94484ecab
|
@ -119,7 +119,7 @@ class TestFileWebpAlpha(PillowTestCase):
|
||||||
image.getdata()
|
image.getdata()
|
||||||
target = Image.open(file_path).convert("RGBA")
|
target = Image.open(file_path).convert("RGBA")
|
||||||
|
|
||||||
self.assert_image_similar(image, target, 10.0)
|
self.assert_image_similar(image, target, 25.0)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# install webp
|
# 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
|
./download-and-extract.sh $archive https://raw.githubusercontent.com/python-pillow/pillow-depends/master/$archive.tar.gz
|
||||||
|
|
||||||
|
|
|
@ -66,9 +66,9 @@ libs = {
|
||||||
'version': '8.6.7',
|
'version': '8.6.7',
|
||||||
},
|
},
|
||||||
'webp': {
|
'webp': {
|
||||||
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz',
|
'url': 'http://downloads.webmproject.org/releases/webp/libwebp-0.6.1.tar.gz',
|
||||||
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.6.0.tar.gz',
|
'filename': PILLOW_DEPENDS_DIR + 'libwebp-0.6.1.tar.gz',
|
||||||
'dir': 'libwebp-0.6.0',
|
'dir': 'libwebp-0.6.1',
|
||||||
},
|
},
|
||||||
'openjpeg': {
|
'openjpeg': {
|
||||||
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.3.0/openjpeg-2.3.0.tar.gz',
|
'url': SF_MIRROR+'/project/openjpeg/openjpeg/2.3.0/openjpeg-2.3.0.tar.gz',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user