GifEditor¶
- class easy_pil.gif_editor.GifEditor(image: str | BytesIO | Path | GifImageFile)¶
Editor for GIF images, applying operations across all frames.
- close() None¶
Close all frame editors and source image.
- property image_bytes: BytesIO¶
Return image bytes.
- Returns:
Bytes from the image of Editor
- Return type:
BytesIO
- save(fp: str | Path | BytesIO, **kwargs: Any) None¶
Save the image.
- Parameters:
fp (str | Path | BytesIO) – File path or buffer
**kwargs – Additional arguments passed to PIL save