Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ormanli/run-length-encoding
Run Length Coding implementation in Python
https://github.com/ormanli/run-length-encoding
length-encoding pillow python python3
Last synced: 3 months ago
JSON representation
Run Length Coding implementation in Python
- Host: GitHub
- URL: https://github.com/ormanli/run-length-encoding
- Owner: ormanli
- License: mit
- Created: 2014-04-12T08:25:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-26T09:26:58.000Z (almost 11 years ago)
- Last Synced: 2024-04-16T19:07:00.603Z (9 months ago)
- Topics: length-encoding, pillow, python, python3
- Language: Python
- Homepage:
- Size: 922 KB
- Stars: 9
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
run-length-encoding
===================Run Length Coding implementation at Python 3.3.4. To test and do benchmark run FunctionTest.py.
To encode
```
python Main.py -e path/to/image -s scanningtypecode
```To decode
```
python Main.py -d path/to/compressed
```Scanning types
| Code | Name |
| ------------- |:-------------:|
| RR | Row rotate |
| R | Row |
| C | Column |
| CR | Column rotate |
| ZZ | Zig zag |