In Paint.NET, if you go to Effects > Stylize > Outline, and set the thickness to 1 and the intensity to 99, you'll get a pretty good result. However, it will screw up around some sections (especially where only one pixel is off from the rest of the line or things like that, so you'll have to...