Update README.md

This commit is contained in:
G2 2024-07-29 02:52:55 -05:00 committed by GitHub
parent 52deeda8c9
commit c400e620b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,14 +3,21 @@
</p> </p>
# SQP # SQP
**SQP** (Squishy Picture) is a simple image format designed **SQP** (**SQ**uishy **P**icture Format) is an image format designed
for ease of encoding and decoding while maintaining a relatively good for ease of implementation while maintaining a relatively good
compression ratio for various purposes. The general idea is to make compression ratio. The general idea is to make something "good enough"
something "good enough" while being simple. 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 under 1000 lines of relatively This reference implementation fits in around 1000 lines of relatively
simple Rust, while maintaining decent compression and decompression simple Rust, while maintaining decent compression and decompression
speeds. speeds.
Additionally, it also supports both lossless and lossy encoding schemes, ## Features
with the lossy version using Discrete Cosine Transform encoding like JPEG. - 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