Using Lanczos 3 scaling to resize images, see: http://blog.nobel-joergensen.com/2008/12/20/downscaling-images-in-java/