Processing all frames of an animated image file (i.e. GIF, APNG, WebP) can take a while, and there's no indication of any sort for progress there, nor is there any way to keep track of it. Thus, I suggest adding to save_all implementation at least one of the following:
- a log output (either at
INFO or DEBUG level) after every frame (e.g. the way it's done by convert -verbose)
- an (optional) custom progress tracking callback parameter (which should be given the current frame index and possibly total
n_frames & filename of the first file as well); this can be used for customizing log output or for GUI progress indication
- log only when no progress tracking callback is provided?
- alternatively, if there's a callback and it returns a string, print it out as logging output?
Processing all frames of an animated image file (i.e. GIF, APNG, WebP) can take a while, and there's no indication of any sort for progress there, nor is there any way to keep track of it. Thus, I suggest adding to
save_allimplementation at least one of the following:INFOorDEBUGlevel) after every frame (e.g. the way it's done byconvert -verbose)n_frames&filenameof the first file as well); this can be used for customizing log output or for GUI progress indication