Here are two links for free image viewers/converters that know how to handle PPM/PGM/PBM images:
Imagine Picture Viewer
GIMP
Note also that Photoshop views PPM/PGM/PBM images. And of course, you can always google for "free PPM image converter" and choose the one you like.
Here are also two sets of PPM and PGM images that you can use if you do not wish to download a converter.
Image set 1
Image set 2
For slow connections, you can download these files: football.ppm, football.pgm
Note that PPM images can be: binary or ASCII. The code we write in class works for ASCII PPM.
If the converter does not ask you to select between ASCII and binary the default is usually "binary", which is not very helpful in our case.
Some converters add a comment line at the top. Open the image in a text editor and remove this comment line before running your code.
Imagine Picture Viewer
GIMP
Note also that Photoshop views PPM/PGM/PBM images. And of course, you can always google for "free PPM image converter" and choose the one you like.
Here are also two sets of PPM and PGM images that you can use if you do not wish to download a converter.
Image set 1
Image set 2
For slow connections, you can download these files: football.ppm, football.pgm
Note that PPM images can be: binary or ASCII. The code we write in class works for ASCII PPM.
If the converter does not ask you to select between ASCII and binary the default is usually "binary", which is not very helpful in our case.
Some converters add a comment line at the top. Open the image in a text editor and remove this comment line before running your code.
No comments:
Post a Comment