Thanks, Joe, that seems to have fixed it.
I use Faststone for image viewing and basic primping such as cropping, but I think that at any point when saving the image, Faststone sorts out the EXIF information, so once saved, a portrait image behaved properly, whereas an original image from the camera stumbled over the bug and lost resolution.
Cheers,
Norman