Metadata-Version: 2.1
Name: apnggif
Version: 0.1.4
Summary: Python interface to apng2gif
Home-page: https://github.com/yukinarit/apnggif
Author: yukinarit
Author-email: yukinarit84@gmail.com
License: zlib/libpng
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: zlib/libpng License
Classifier: Programming Language :: Python :: 3.6
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 :: Implementation :: CPython
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# apnggif

Python interface to [apng2gif](https://sourceforge.net/projects/apng2gif/).

Both APNG (Animated PNG) are GIF are major animation formats nowadays, however there is no good python library to convert from APNG to GIF. `apnggif` is modern, easy-to-use python conversion library (and CLI) built on top of [apng2gif](https://sourceforge.net/projects/apng2gif/) which is written in C++ and also used in [EZGIF.com](https://ezgif.com/).

## Usage

`apnggif` requires python>=3.6.

```
pip install apnggif
```

### CLI

If you pip install apnggif, a command line client `apnggif` is already installed in your system. Try the following command to convert APNG image to GIF.

```
apnggif <GIF> ...
```

For more information about options, check
```
apnggif --help
```

### In a Python program

```python
from apnggif import apnggif

apnggif("ball.png")
```

## License

[zlib/libpng License](https://opensource.org/licenses/Zlib).

