PyCBitmap.LoadPPMFile

LoadPPMFile(fileObject, cols, rows)

Loads a bitmap in Portable Pix Map (PPM) format from a file object.

Parameters

fileObject : file[.read]

The file object to load the PPM format file from.

cols : int

The number of columns in the bitmap.

rows : int

The number of rows in the bitmap.