read a ppm file

(cygwin specific)