SkillAgentSearch skills...

Rcc

A lossy image compression codec using RTrees

Install / Use

/learn @aaasen/Rcc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RCC (RTree Compression Codec)

Welcome to RCC, the terribly inefficient lossy image compression codec!

RCC converts images into heightmaps for each channel (red, green, blue, alpha), then compresses these heightmaps. Compression is achieved by grouping sets of nearby points into single rectangles, or RTrees. In this way, RCC preserves details like facial features and text even at high compression levels.

RCC In Action

Compression Level: 10

Compression Level: 20

Compression Level: 40

Compression Level: 2

Compression Level: 5

Compression Level: 50

Compression Level: 10

Compression Level: 20

Compression Level: 30

Installation

$ git clone git://github.com/aaasen/rcc.git
$ cd rcc
$ make all
$ ./rcc [input-file-name.bmp]

Usage

$ rcc [input-file-name.bmp]

-h
    show this documentation/help text
  
-m [compression level (int)]
    set the compression level (0 is lossless, higher values mean more compression, default is 5)
  
-o [filename]
    specify an output file name (default is "out")

Authors

  ______________________
 |  ____                | * * * * * * * * * * * * *
 | |    |               |   _         __      __  *
 | | ___|________       |  ||\\      / _|    / _| *
 | ||   |        |      |  || \\    / /     / /   *
 | ||___|  ___   |      |  || //   | |     | |    *
 |  |     |   |  |      |  ||/\\    \ \_    \ \_  *
 |  |     |___|  |      |  ||  \\    \__|    \__| *
 |  |____________|      |                         *
 |______________________| * * * * * * * * * * * * *

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated2y ago
Forks1

Languages

C

Security Score

55/100

Audited on Jan 29, 2024

No findings