add test for PNG interlace handling
see https://github.com/libvips/libvips/pull/1296
This commit is contained in:
parent
ce8aff8dd8
commit
4132623024
@ -233,7 +233,6 @@ class TestForeign:
|
|||||||
# format area at the end
|
# format area at the end
|
||||||
assert y.startswith("hello world")
|
assert y.startswith("hello world")
|
||||||
|
|
||||||
|
|
||||||
@skip_if_no("pngload")
|
@skip_if_no("pngload")
|
||||||
def test_png(self):
|
def test_png(self):
|
||||||
def png_valid(im):
|
def png_valid(im):
|
||||||
@ -248,6 +247,8 @@ class TestForeign:
|
|||||||
self.save_load_buffer("pngsave_buffer", "pngload_buffer", self.colour)
|
self.save_load_buffer("pngsave_buffer", "pngload_buffer", self.colour)
|
||||||
self.save_load("%s.png", self.mono)
|
self.save_load("%s.png", self.mono)
|
||||||
self.save_load("%s.png", self.colour)
|
self.save_load("%s.png", self.colour)
|
||||||
|
self.save_load_file(".png", "[interlace]", self.colour, 0)
|
||||||
|
self.save_load_file(".png", "[interlace]", self.mono, 0)
|
||||||
|
|
||||||
@skip_if_no("tiffload")
|
@skip_if_no("tiffload")
|
||||||
def test_tiff(self):
|
def test_tiff(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user