Making High-Quality screencast animated gifs Use any screen recorder to record the screen. Gnome has a built-in recorder that is started and stopped with ctrl+shift+alt+r. Use kdenlive's edgecrop and speed effects to crop and adjust speed as required. render as mp4. Convert MP4 to several images: sudo ffmpeg -i save_project.mp4 -r 20 'frames/frame-%03d.jpg' Use gimp to determine coordinates of required crop # format: (cropped width)x(cropped height)+(crop x)+(crop y) sudo mogrify -crop 1048x1080+438+0 frames/*.jpg Convert cropped images to animated gif sudo convert -limit memory 2MB -delay 5 -loop 0 frames/*.jpg save_project.gif