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

https://github.com/oraichain/binary-rle


https://github.com/oraichain/binary-rle

Last synced: about 1 month ago
JSON representation

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
```