I seems that the error occurs only in cases where the jpg file size exceeds some 2 MB.
RickĀ“s best bet with copy + paste works all right, but you risk to loose resolution and file size depending on which program you open the picture with in the first place.
My best advice is to open the jpg file with paint.NET, then do your manipulations and save it as a png file. You can then open this png file using paint.NET and save it as jpg. That procedure does not reduce resolution and file size.