PyPgm
This package is for reading portable greymap files.
Functionality still to be added for writing pgm files.
Usage
f = 'pgm_file.pgm'
reader = Reader()
image = reader.read_pgm(f)
wdith = reader.width
A Python package for reading pgm files
pip install pgmreader==0.0.1
This package is for reading portable greymap files.
Functionality still to be added for writing pgm files.
f = 'pgm_file.pgm'
reader = Reader()
image = reader.read_pgm(f)
wdith = reader.width