mirror of
https://github.com/Dangoware/sqp.git
synced 2025-04-19 07:12:55 -05:00
23 lines
954 B
Markdown
23 lines
954 B
Markdown
<p align="center">
|
|
<img width="400px" src="https://github.com/user-attachments/assets/98f94c1c-ed6f-49a3-b906-c328035d981e">
|
|
</p>
|
|
|
|
# SQP
|
|
**SQP** (**SQ**uishy **P**icture Format) is an image format designed
|
|
for ease of implementation while maintaining a relatively good
|
|
compression ratio. The general idea is to make something "good enough"
|
|
while being simple, and also as a learning tool to learn about
|
|
compression (mostly on my part). If you need an image format for general
|
|
use, this is probably **not it**, go check out JPEG XL or AVIF.
|
|
|
|
This reference implementation fits in around 1000 lines of relatively
|
|
simple Rust, while maintaining decent compression and decompression
|
|
speeds.
|
|
|
|
## Features
|
|
- Lossless and lossy compression schemes
|
|
- Support for various color formats (RGBA8, GrayAlpha8, etc.)
|
|
- Decent compression ratios, the lossless compression can often beat PNG
|
|
especially on images with transparency
|
|
- Relatively simple
|
|
- Squishy
|