fix: keep every frame of animated GIF uploads (v2.21.1)
optimize_image() re-saved animated GIFs without save_all=True, so Pillow wrote only the first frame. Save all frames, and skip resized variants for animated GIFs (they would be stills; feeds and syndication fall back to the original). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c87de892cf
commit
18d667db74
5 files changed
+86
-23
No files matched your search
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.21.1] - 2026-11-28
|
||||
|
||||
### Fixed
|
||||
|
||||
- Animated GIFs were stored as just their first frame, so they showed as still images. Upload optimization now keeps every frame and its timing. Animated GIFs also no longer get resized variants (thumb/small/medium/large), which would have been stills too; feeds and crossposts use the animated original. GIFs uploaded before this release stay still; upload them again
|
||||
|
||||
## [2.21.0] - 2026-11-28
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user