That is strange indeed. The error seems to say that the array res is not what we expect it to be. Have you had a look at that variable?
Dimensions[res]
On which operating system are you? I have tried this on a number of Macs and it works alright. I just tried in in the Wolfram Programming Cloud and int works fine, too. Perhaps you can make a free Wolfram Programming Cloud account and check whether it works for you there?
I have resized the image programatically using:
ImageResize[stuart, {200,266}]
Cheers,
Marco