A lightweight Image Downsampler for browsers with canvas support.