(self)
| 83 | roundtrip("PDF") |
| 84 | |
| 85 | def test_ico(self) -> None: |
| 86 | with open("Tests/images/python.ico", "rb") as f: |
| 87 | data = f.read() |
| 88 | with ImageFile.Parser() as p: |
| 89 | p.feed(data) |
| 90 | assert p.image is not None |
| 91 | assert (48, 48) == p.image.size |
| 92 | |
| 93 | @pytest.mark.filterwarnings("ignore:Corrupt EXIF data") |
| 94 | def test_incremental_tiff(self) -> None: |