https://github.com/Jonovono/cutter.
> LICEcap can capture an area of your desktop and save it directly to .GIF (for viewing in web browsers, etc) or .LCF.
[1] http://www.cockos.com/licecap/