OK, this looks like an error in MVC3. The error you get is just a standard GDI + error when GDI + tries to access pixels in places where it does not exist.
I believe the problem is rounding the pixels when calculating the aspect ratio , so I think that if you change 135, 150 to, for example, 136, 151 , this will work.
Perhaps I thought about finding an error in my code and posting them.
UPDATE - Possible Workaround
Try passing true for the 4th parameter:
// Resize the image image.Resize(135, 150, true, true);
I really see the error in the code:
if (num3 > num4) { height = (int) Math.Round((double) ((num4 * image.Height) / 100.0)); } else if (num3 < num4) { width = (int) Math.Round((double) ((num3 * image.Width) / 100.0)); }
Aliostad
source share