Get phash of image with spy.