From 1c940e89141e0c09eeebbce2679760ec03173beb Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Sun, 4 Dec 2022 19:16:54 -0500 Subject: [PATCH] PIL: add optimize param to save (#9328) --- stubs/Pillow/PIL/Image.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/Pillow/PIL/Image.pyi b/stubs/Pillow/PIL/Image.pyi index 6fcedd6f0..118b95d26 100644 --- a/stubs/Pillow/PIL/Image.pyi +++ b/stubs/Pillow/PIL/Image.pyi @@ -238,6 +238,7 @@ class Image: *, save_all: bool = ..., bitmap_format: Literal["bmp", "png"] = ..., # for ICO files + optimize: bool = ..., **params: Any, ) -> None: ... def seek(self, frame: int) -> None: ...