diff --git a/src/PIL/AvifImagePlugin.py b/src/PIL/AvifImagePlugin.py index 7bd1e84c58d..d3547513cd2 100644 --- a/src/PIL/AvifImagePlugin.py +++ b/src/PIL/AvifImagePlugin.py @@ -132,7 +132,7 @@ def load(self) -> Image.core.PixelAccess | None: if self.fp and self._exclusive_fp: self.fp.close() self.fp = BytesIO(data) - self.tile = [ImageFile._Tile("raw", (0, 0) + self.size, 0, self.mode)] + self.tile = [ImageFile._Tile("raw", (0, 0) + self.size)] return super().load()