Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/delivrance/glitchart
Media Glitch Library for Python
https://github.com/delivrance/glitchart
ffmpeg hacktoberfest image-processing jpeg python
Last synced: 18 days ago
JSON representation
Media Glitch Library for Python
- Host: GitHub
- URL: https://github.com/delivrance/glitchart
- Owner: delivrance
- License: mit
- Created: 2019-03-05T16:18:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T19:02:04.000Z (about 2 years ago)
- Last Synced: 2024-10-13T14:13:54.805Z (about 1 month ago)
- Topics: ffmpeg, hacktoberfest, image-processing, jpeg, python
- Language: Python
- Homepage: https://pypi.org/project/glitchart
- Size: 6.84 KB
- Stars: 48
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GlitchArt
> Media Glitch Library for Python
**GlitchArt** is a Python library that applies a glitch effect to image and video files.
It does so by corrupting JPEG frames on random bytes, without screwing up files.
Supported media formats: **JPEG**, **PNG**, **WebP**, **MP4**.## Requirements
- `Pillow`, which is automatically installed.
- Videos require `ffmpeg` and `ffprobe` available in PATH.## Installing
``` shell
$ pip3 install glitchart
```## Usage
``` python
import glitchartglitchart.jpeg("starrynight.jpg")
```## Documentation
Read the source code for now, or use Python's `help()` built-in function. E.g.:
```python
>>> import glitchart
>>> help(glitchart.jpeg)
...
```## License
MIT © 2019-2020 [Dan](https://github.com/delivrance)