Bitmap/Read a PPM file: Difference between revisions
Content added Content deleted
Line 491: | Line 491: | ||
=={{header|FBSL}}== |
=={{header|FBSL}}== |
||
Read a colored PPM file, convert it to grayscale and write back to disk under a different name. |
Read a colored PPM file, convert it to grayscale and write back to disk under a different name. Sanity checks are omitted for brevity. |
||
'''24-bpp P6 PPM solution:''' |
'''24-bpp P6 PPM solution:''' |