Rcc
A lossy image compression codec using RTrees
Install / Use
/learn @aaasen/RccREADME
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
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
