You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All the GIFs I'm getting seem a little blurry. Is there any way to set the quality?
Output doc/source/images/operator-install.gif
Set FontSize 18
Set Width 1200
Set Height 200
Set Padding 20
Set TypingSpeed 25ms
Type "helm install --wait --repo https://helm.dask.org --create-namespace -n dask-operator --generate-name dask-kubernetes-operator"
Sleep 500ms
Enter
Sleep 5s
Enter
Type "kubectl get daskclusters"
Sleep 500ms
Enter
Sleep 2s
Enter
Type "kubectl get pods -A -l app.kubernetes.io/name=dask-kubernetes-operator"
Sleep 500ms
Enter
Sleep 5s
@jacobtomlinson This is what I get when I run the VHS with the following settings:
Set FontSize 36
Set Width 2400
Set Height 400
Set Padding 40
I doubled all the values and it came out crispier. Hope that helps!
Worth noting that at least with the current version of VHS, scaling up the height/width and font size, also seems to affect all of the timing for everything. The resulting file runs about 50% faster. It gets worse if you also increase the framerate (which shouldn't impact the duration, only the amount of frames in the GIF).
@jacobtomlinson This is what I get when I run the VHS with the following settings:
Set FontSize 36
Set Width 2400
Set Height 400
Set Padding 40
I doubled all the values and it came out crispier. Hope that helps!
Oh, this 2× resolution workaround reveals an even more annoying problem: playback speed changes with the resolution 🤦. Adjusting the resolution should not change the recording’s timing or duration.
tmux + asciinema + agg avoids both problems here - no GIF quality loss and no timing drift at higher resolutions. Wiring them by hand is more work than a .tape, so there is S-VHS, a small bash wrapper providing a tape-like recording style.
Activity
maaslalani commentedon Oct 28, 2022
One thing you can try is to increase the
HeightandWidthand increase theFontSizeand then scale it down after.maaslalani commentedon Oct 28, 2022
I think there might be a few things we can do somethings on our end regarding font anti-aliasing, etc... as well
maaslalani commentedon Oct 29, 2022
@jacobtomlinson This is what I get when I run the VHS with the following settings:
I doubled all the values and it came out crispier. Hope that helps!
jacobtomlinson commentedon Oct 31, 2022
Oooh that's much better, thanks @maaslalani!
lrstanley commentedon Jul 26, 2025
Worth noting that at least with the current version of VHS, scaling up the height/width and font size, also seems to affect all of the timing for everything. The resulting file runs about 50% faster. It gets worse if you also increase the framerate (which shouldn't impact the duration, only the amount of frames in the GIF).
jackspirou commentedon Aug 6, 2025
I started a discussion #644 around a working (for me) SVG implementation fork at https://github.com/agentstation/vhs - might be helpful 😄
dimk90 commentedon Jul 22, 2026
Oh, this 2× resolution workaround reveals an even more annoying problem: playback speed changes with the resolution 🤦. Adjusting the resolution should not change the recording’s timing or duration.
dimk90 commentedon Aug 25, 2026
tmux+asciinema+aggavoids both problems here - no GIF quality loss and no timing drift at higher resolutions. Wiring them by hand is more work than a.tape, so there is S-VHS, a small bash wrapper providing a tape-like recording style.