Pypfm
Python pfm files reader. Fast and python3 compatible, with compression included
Install
pip install pypfm
If you know the size upfront, specify it:
from pypfm import PFMLoader
loader = PFMLoader((width, height), color=False, compress=False)
Otherwise it will find it by itself (slower):
from pypfm import PFMLoader
loader = PFMLoader(color=False, compress=False)
Read a pfm file
pfm = loader.load_pfm('test.pfm')
Save a pfm file:
loader.save_pfm('test.pfm', pfm)
Using zfp compression:
from pypfm import PFMLoader
loader = PFMLoader(color=False, compress=True)
pfm = loader.load_pfm('test.pfm')
loader.save_pfm('test.pfm', pfm)
Metadata
Release files for pypfm 1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pypfm-1.4.4.tar.gz | 2.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypfm-1.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / pypfm-1.4.4.tar.gz
| Download URL | pypfm-1.4.4.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc26e6f9a3936039c69d8fcdce48474e799f9c1cc3f5c0bc6975632d923e0cd1
|
|
BLAKE2b-256 checksum How to use checksums |
86a8670988f9439b1c8b57c59aefa783529d4ca8335caf670ef8663b2a21596b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8
|
Release files / pypfm-1.4.4-py3-none-any.whl
| Download URL | pypfm-1.4.4-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eca0612d0119a9b5c977b453af2be6a6eedc015df3e8c6f55a0893b8be1738c6
|
|
BLAKE2b-256 checksum How to use checksums |
1df254d78078586e3a9a7e361ac4e1cf65db4410918d15228289f5143a0b7ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.8
|
Security for pypfm 1.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.