Skip to content

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.

2 participants