OpenImageIO/oiio — pull request #395 by darkhorse64 (2012-07-07 19:27:13+00:00)
Title: Open PNM files in binary mode

In ascii mode, the "pnm.imageio" plugin sometimes fails to read binary
format PNM files (when it encounters an unsigned char of value EOF).
Conversely, reading ascii format PNM files in binary mode is OK.