'F# - Convert PPM Image to Greyscale

I am new to F# and was wondering if there is a way to convert an image in ppm to grayscale using F#?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source