Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] rework artists.stitch_to_animation #1183

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

ddkohler
Copy link
Contributor

@ddkohler ddkohler commented May 29, 2024

Changes

Rework wt.artists.stitch_to_animation: more settings to customize the quality and size of the generated gifs.

  • kwarg ignore_alpha to remove transparency from gif palette.
  • kwarg reduce to easily shrink gif image size relative to input
  • replace ImageIO dependency with pillow, since that is the only plugin we use. (this also makes for a more direct interface with the parameters, which can be hidden when using ImageIO's generalized plugin framework)
  • removed palettesize kwarg, which is no longer supported
  • helpers.py: replace os with equivalent pathlib utilities
  • addresses artists.stitch_to_animation: gif generation can have low color fidelity #1182

Checklist

  • added tests, if applicable
  • updated documentation, if applicable
  • updated CHANGELOG.md
  • tests pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant