问题
I found this example and used it How do you resize a Bitmap under .NET CF 2.0
However my image looks horrible because of anti aliasing. It no longer looks pixelated as it should. How do i disable anti aliasing?
回答1:
Set the interpolation mode to nearest neighbor:
g.InterPolationMode = InterpolationMode.NearestNeighbor
来源:https://stackoverflow.com/questions/1096553/stretch-bitmap-without-anti-aliasing