save_gif¶
- save_gif(location: str, key: str, frame_keys: list[str]) None [source]¶
Save series of images as gif to key at specified location.
Method will save to the S3 bucket if the location begins with the s3:// protocol, otherwise it assumes the location is a local path.
- Parameters:
location – Object location (local path or S3 bucket).
key – Object key ending in .gif.
frame_keys – List of frame keys to include in the gif.