Easy and efficient way to create thumnails using GraphicsMagick