I was about to scale this image down to 64x64 pixels:


The result I got on MS Paint on Windows 7 was surprisingly good (i.e. crisp edges):

ms paint rescaled , whereas scaling it with GIMP resulted in cubic GIMP for cubic and lanczos3 GIMP for Lanczos3 interpolation, both of which look significantly worse to me. Linear and nearest-neighbor was obviously much worse still.

I have also written a small program to check all of the interpolation modes available in the System.Drawing.Drawing2D.InterpolationMode enumeration, to no avail. Unfortunately, most web search results on the topic of interpolation in MS Paint are still from the days before Vista, when nearest neighbor was the only option.

Does anyone know which interpolation algorithm the Windows 7 version of MS Paint uses?

  • $\begingroup$ They may do some edge checking to maintain the crispness $\endgroup$ Commented Mar 29, 2016 at 12:54
  • $\begingroup$ Related: Image downscale algorithm $\endgroup$
    – Delgan
    Commented Oct 4, 2017 at 20:10

1 Answer 1


I'd say it's InterpolationMode.NearestNeighbor plus a minimum width/height threshold below you cannot scale down.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.