Improve a black and white photo with auto contrast

The upper part of the image contains the original black and white photo. Its contrast is visibly far from ideal (e.g. the snow is too gray). We use the GrayscaleBitmap.AutoContrast() method to automatically adjust the contrast so that the full available output range (0..255) is used. The result is rendered in the lower half of the image.