fast fix for issue that Roope has posted ...

... image doesn't get created if requested dimensions are equal to original dimensions.

Also to return true without creating a image only if no resize is needed is just nonsense. (that was me, sorry)

@Ryan: I know it isn't the best solution to copy image also when resize isn't needed, but you already have noted that this function has become a bit long and that it should be re-organized. So for now it seems to be a good workaround.