colorspace correction when resizing. closes #11