LICEcap can record the screen to LCF which can then be converted to animated GIFs, the hard way.
Animated GIFs are limited in the sense they can only be 256 colors, but
with Jon's method all that was missing was a simpler way for recording
the screen. He provided the
capture.py script, but it captured the
whole screen and at constant intervals of time, still it was very handy.
Recently I found out about LICEcap, a
pretty neat and useful tool to capture an area of the screen and save it
directly to .GIF, but also to its own native lossless proprietary file
.LCF. The proprietary format keeps the recorded screencast
compressed in full color, I just needed a way to extract those and use
anim_encoder to package those to a single PNG file and its
anim_encoder and went
about adding LCF file format support to it.
My GitHub fork contains the
.LCF reader and processor and accepts LICEcap LCF files to produce the
packaged files. The following is an example produced by running