A Python package for reading pgm files
Project description
PyPgm
This package is for reading portable greymap files.
Functionality still to be added for writing pgm files.
Installation
pip install pgm_reader
Usage
from pgm_reader import Reader
f = 'pgm_file.pgm'
reader = Reader()
image = reader.read_pgm(f)
width = reader.width
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pgm_reader-0.0.1.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file pgm_reader-0.0.1.tar.gz
.
File metadata
- Download URL: pgm_reader-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
419b3a712a45bda43b35a898e680b526ca64dbac31907553114deb2d8d1669b5
|
|
MD5 |
a528a1d4b3711abb4ef7c53d793a16d7
|
|
BLAKE2b-256 |
eff3d276b60f082cbffcd1f2ef9e7ff1f6a4e844a00a8c23c1a506ea24abd3a5
|
File details
Details for the file pgm_reader-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pgm_reader-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3d88b1ed23446570f016e866e4a6820292c6d1851a746dced4c482ba71c82ee9
|
|
MD5 |
c184b4091045472f014d3f544e2a340d
|
|
BLAKE2b-256 |
ff20815782b1ef1ab1bf923b3d94c7d6212ad9ca20f3755f206089e55e62d234
|