Metadata-Version: 2.4
Name: pyjpeg
Version: 0.2
Summary: Pure Python JPEG image encoder/decoder
Project-URL: Homepage, https://github.com/robert-ancell/pyjpeg
Project-URL: Issues, https://github.com/robert-ancell/pyjpeg/issues
Author-email: Robert Ancell <robert.ancell@gmail.com>
License-Expression: LGPL-3.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown

This repository contains a Python encoder and decoder for the [JPEG file format](https://jpeg.org/jpeg/).

The easiest way to get PyJPEG is to install from the [Python Packaging Index](https://pypi.org/project/pyjpeg/):
```
pip install pyjpeg
```

Example:
```python
import pyjpeg

data = open('test.jpg', 'rb').read()
reader = pyjpeg.io.BufferedReader(data)
image = pyjpeg.Image.read(reader)
print(image.components[0].samples)
```
