Metadata-Version: 2.1
Name: pypfm
Version: 1.3
Summary: Python pfm files reader
Home-page: https://github.com/Wats0ns/pypfm
Author: Wats0ns
Author-email: Wats0ns@github.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: pyzfp
Requires-Dist: numpy

# Pypfm
Python pfm files reader. Fast and python3 compatible, with compression included

If you know the size upfront, specify it:
```python
from pypfm import PFMLoader
loader = PFMLoader((width, height), color=False, compress=False)
pfm = loader.load_pfm('test.pfm')
loader.save_pfm('test.pfm', pfm)
```

Otherwise it will find it by itself (slower):
```python
from pypfm import PFMLoader
loader = PFMLoader(color=False, compress=False)
pfm = loader.load_pfm('test.pfm')
loader.save_pfm('test.pfm', pfm)
```

Using zfp compression:

```python
from pypfm import PFMLoader
loader = PFMLoader(color=False, compress=True)
pfm = loader.load_pfm('test.pfm')
loader.save_pfm('test.pfm', pfm)
```


