In the function instead of using ImageCopyResized try using ImageCopyResampled this produces a smoother image especially useful for smaller product shots.

More...