I'm working on a tool to allow 2 related bitmap images to be aligned to a common datum.

This involves rotating and re-sizing one of them.

My problem is that I am unable to copy the rotated image from one picturebox to another. when I try, I either get an "invalid image" error or - if I have previously loaded an image directly from file into the picturebox in which the rotation is performed, it is that image which gets copied.

Any help would be appreciated.