Skip to content
Deviant edited this page Mar 16, 2024 · 9 revisions

Additional functions and capabilities will be described here.

Q: How to save animation?

You can use save_gif() function you can save in 2 ways and 2 formats. | Example

  • Pillow method supports formats: webp and gif
  • Moviepy: method only supports gif

Argument:

  • type - pillow or moviepy | Type: str | Default: pillow
  • format - gif or webp | Type: str | Default: gif
  • name_file - Name of the saved file. | Type: str | Default: None
  • resize - Reduce card size. | Type: tuple | Default: None

Q: How do I display the card?

You can use the show() method on the Pillow image itself, or you can use the show() method on the card model | Example

Q: How to get information about a character on a card?

Use the get_info() model function | Example

Argument:

Clone this wiki locally