diff --git a/.gitignore b/.gitignore index a7258d0..cb92568 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ wsl_venv/ *.egg-info/ .installed.cfg *.egg +wheelhouse/ # Installer logs pip-log.txt diff --git a/pillow_jxl/JpegXLImagePlugin.py b/pillow_jxl/JpegXLImagePlugin.py index bd38f79..31e933b 100644 --- a/pillow_jxl/JpegXLImagePlugin.py +++ b/pillow_jxl/JpegXLImagePlugin.py @@ -66,6 +66,14 @@ def load(self): return super().load() + # may be defined for contained formats + def load_seek(self, pos): + pass + + # may be defined for blocked formats (e.g. PNG) + # def load_read(self, bytes): + # pass + def tell(self): return self.__frame