A class for handling WebP replay animations
frame_idx
: Index of the frame to extract. Can be negative to count from the end.output_file
: Path where to save the WebP file. Must end with .webp extension.ValueError
: If the output file doesn’t have a .webp extension.frame_idx
: Index of the frame to save. Can be negative to count from the end.output_file
: Path where to save the PNG file. The extension will be changed to .png if needed.notte_core.utils.webp_replay