Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 |