https://github.com/oraichain/binary-rle
https://github.com/oraichain/binary-rle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/oraichain/binary-rle
- Owner: oraichain
- Archived: true
- Created: 2021-11-02T15:29:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T15:33:31.000Z (over 3 years ago)
- Last Synced: 2025-02-28T12:19:03.124Z (3 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Binary RLE (Run Length Encoding) Implementation
This implementation of RLE is comopatible with thi-ng's rle-pack JavaScript implementation.
[Find it here](https://github.com/thi-ng/umbrella/tree/develop/packages/rle-pack)Just import the encode and decode function and recieve a much smaller lossless compressed list.
Learn more about the format on the site linked above.
It was tested in 8bit, since the pictures in this project are stored in a 8bit RGB map.# How to run
```bash
# deno
deno run --allow-read rle.js# python
python rle.py
```