Giter Site home page Giter Site logo

rle-util's Introduction

rle-util: Simple RLE (Run-Lenght Encoding) encoding/decoding utility

About

rle is a simple utility for data encoding/decoding using the RLE algorithm with command line syntax similar to gzip(1) and bzip(1). The file format is an raw RLE-encoded stream, as described below.

RLE algorithm: https://en.wikipedia.org/wiki/Run-length_encoding

Compressed format: each run of bytes is preceded by an unsigned octet LEN, if LEN < 128, then the next byte will be repeated LEN times in the output stream, if LEN >= 128 then the subsequent (256 - LEN) bytes will be copied to the output stream "as is".

Actually, RLE stream can be represented in many other ways, so you should not expect the utility to support yours. But you can always modify this utility for your needs, it is a really easy task.

Tested only with GNU/Linux OS. The build process is as simple as running make(1).

License

This project is licensed under the terms of the ISC license. See the LICENSE file for license rights and limitations.

rle-util's People

Contributors

rsa9000 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

cam900 mezstd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.