Grayscale image
This script expects to be fed a P6 .ppm file name at the command line. It will convert it to grey scale and save it as a binary portable grey map (P5 .pgm) file.
Using the .ppm file from the Write a PPM file task:
Last updated
This script expects to be fed a P6 .ppm file name at the command line. It will convert it to grey scale and save it as a binary portable grey map (P5 .pgm) file.
Using the .ppm file from the Write a PPM file task:
Last updated