Mainly based on heavy work of Martin Pickering at http://world.episerver.com/Code/Martin-Pickering/ImageResizingNet-integration-for-CMS75/. Packed as installable NuGet package.