mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Fixed JPEG qtables test
This commit is contained in:
parent
9935c40d6c
commit
fcd4c662bf
|
@ -224,7 +224,7 @@ class TestFileJpeg(PillowTestCase):
|
||||||
filename = "Tests/images/junk_jpeg_header.jpg"
|
filename = "Tests/images/junk_jpeg_header.jpg"
|
||||||
Image.open(filename)
|
Image.open(filename)
|
||||||
|
|
||||||
def test_qtables():
|
def test_qtables(self):
|
||||||
im = Image.open("Tests/images/lena.jpg")
|
im = Image.open("Tests/images/lena.jpg")
|
||||||
qtables = im.quantization
|
qtables = im.quantization
|
||||||
reloaded = self.roundtrip(im, qtables=qtables, subsampling=0)
|
reloaded = self.roundtrip(im, qtables=qtables, subsampling=0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user