QoiSharp
QoiSharp is an implementation of the QOI https://github.com/phoboslab/qoi
Install / Use
/learn @NUlliiON/QoiSharpREADME
✅ Project status: active. What does it mean?
QoiSharp is an implementation of the QOI format for fast, lossless image compression
Supported functionality:
- [x] Encoding
- [x] Decoding
Installation
Install stable releases via Nuget
| Package Name | Release (NuGet) |
|--------------------------------|-----------------|
| QoiSharp |
API
Encoding
byte[] data = GetRawPixels();
int width = 1920;
int height = 1080;
var channels = Channels.RgbWithAlpha;
byte[] qoiData = QoiEncoder.Encode(new QoiImage(data, width, height, channels));
Decoding
var qoiImage = QoiDecoder.Decode(qoiData);
Console.WriteLine($"Width: {qoiImage.Width}");
Console.WriteLine($"Height: {qoiImage.Height}");
Console.WriteLine($"Channels: {qoiImage.Channels}");
Console.WriteLine($"Color space: {qoiImage.ColorSpace}");
Console.WriteLine($"Data length: {qoiImage.Pixels.Length}");
Example Usage
Click here
TODOs
- Streams
- Benchmarks
- CLI
License
QoiSharp is licensed under the MIT license.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate 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
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
