Quick google-dash suggests that we should maybe using `scipy.misc.imresize` to this instead. Here is the [link](http://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imresize.html).