In python, for cropping  image I use PIL. However the dependencies of PIL is huge, also need to install some lib*-dev packages.

So I choose go to crop images:

Usage:

% go run crop.go large.jpeg thumbna