views:

511

answers:

1

I found this example and used it http://stackoverflow.com/questions/1082884/how-do-you-resize-a-bitmap-under-net-cf-2-0/1082890#1082890

However my image looks horrible because of anti aliasing. It no longer looks pixelated as it should. How do i disable anti aliasing?

+1  A: 

Set the interpolation mode to nearest neighbor:

g.InterPolationMode = InterpolationMode.NearestNeighbor
Guffa