Posts by joao1121 • 41 points
1 post
-
3
votes1
answer272
viewsQ: Segmentation failure during image to grayscale conversion
I am writing code that should receive a color image file (PPM format) and turn it into grayscale (PGM format in ASC II code) After having done functions to read, convert the colors and save the…