Added downscale_image method from SOIL. Buggy at the moment.