(self, filename_or_obj, *, metadata=None, pil_kwargs=None)
| 567 | self._print_pil(filename_or_obj, "webp", pil_kwargs, metadata) |
| 568 | |
| 569 | def print_avif(self, filename_or_obj, *, metadata=None, pil_kwargs=None): |
| 570 | if not features.check("avif"): |
| 571 | raise RuntimeError( |
| 572 | "The installed pillow version does not support avif. Full " |
| 573 | "avif support has been added in pillow 11.3." |
| 574 | ) |
| 575 | self._print_pil(filename_or_obj, "avif", pil_kwargs, metadata) |
| 576 | |
| 577 | (print_gif.__doc__, |
| 578 | print_jpg.__doc__, |
nothing calls this directly
no test coverage detected