Peek: Showing rendering progress

Created on 5 Jan 2017  ·  6Comments  ·  Source: phw/peek

Since rendering can take quite some time, it would be nice if the a progress bar could be implemented when rendering is done. Maybe in place of the stop button, with making the stop-button appear on mouse-over of the progress bar, or showing an (x) symbol on the right side of the bar?

enhancement good first issue help wanted

Most helpful comment

There is now at least a spinner during the processing, this will be in the 1.2.0 release. I will see if it is feasible to get progress information in a later release.

peek-spinner

All 6 comments

Not sure if a real progressbar is feasible, depends on whether I can get a meaningful progress from the file conversion. But the button already changes to a "Rendering…" label while saving. Adding an animated spinner icon to this would probably improve it.

Showing status is fine, but showing progress would be very nice for longer screencasts!

I had a quick look into this. Currently I am calling ImageMagick convert as a command. It has a `-monitor' option, but at least for GIF conversion it is not helpful for building a progress report, see https://gist.github.com/phw/500244f21235ad9239833d18d4b72007

It looks like it would be possible by using ImageMagick via its C API, see http://stackoverflow.com/questions/31666616/monitor-imagemagick-convert-progress-with-python

That's something I wanted to do anyway eventually, but I won't be able to look into this any time soon.

If somebody wants to work on this feel free to give it a go.

Just as an update: With the use of gifski (#212) there is a nice progress bar output on console we could use to gather progress details.

There is now at least a spinner during the processing, this will be in the 1.2.0 release. I will see if it is feasible to get progress information in a later release.

peek-spinner

Was this page helpful?
0 / 5 - 0 ratings

Related issues

animan01 picture animan01  ·  7Comments

CasperHK picture CasperHK  ·  5Comments

austincunningham picture austincunningham  ·  3Comments

chteuchteu picture chteuchteu  ·  6Comments

grimmer-std picture grimmer-std  ·  6Comments