Metadata-Version: 2.1
Name: justpfm
Version: 1.0.0
Summary: Read and write PFM files
Home-page: https://github.com/MartinPeris/justPFM
Author: Martin Peris Martorell
Author-email: cosmoperis@gmail.com
Project-URL: Bug Reports, https://github.com/MartinPeris/justPFM/issues
Project-URL: Source, https://github.com/MartinPeris/justPFM
Keywords: pfm,portable,float,map
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Image Processing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.7, <4
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Provides-Extra: dev
Requires-Dist: check-manifest ; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'

# justPFM
A small Python module to read/write PFM (Portable Float Map) images

## Install

```bash
pip install justpfm
```

## Usage

```python
import numpy as np
from justpfm import justpfm

# Write a test PFM file
data_to_write = np.ones((5, 5), dtype="float32")
justpfm.write_pfm(file_name="test.pfm", data=data_to_write)

# Read the test PFM file
read_data = justpfm.read_pfm(file_name="test.pfm")
```

That's it!
