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: 11 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-26T09:26:58.000Z (about 12 years ago)
- Last Synced: 2025-05-29T01:39:11.728Z (about 1 year ago)
- Topics: length-encoding, pillow, python, python3
- Language: Python
- Homepage:
- Size: 922 KB
- Stars: 9
- Watchers: 0
- 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 |