added a workaround for the issue Roope has posted, ...

... no images created when requested image dimensions are equal to the original dimensions.

And also it is just nonsense to not create a image only if there is no resize needed. It also could be possible to crop without resize. My bad, sorry!

@Ryan: I know that this workaround is not the best solution because to use copyresample for images without a need for resizing. - But it solves the two issues, (one that wasn't posted till now). 
And as you have noted already the method should be reorganized. (best in near future)