mirror of
https://github.com/Dangoware/sqp.git
synced 2025-04-19 07:12:55 -05:00
Merge branch 'main' of https://github.com/Dangoware/dpf
This commit is contained in:
commit
0d45926e73
1 changed files with 14 additions and 7 deletions
21
README.md
21
README.md
|
@ -3,14 +3,21 @@
|
|||
</p>
|
||||
|
||||
# SQP
|
||||
**SQP** (Squishy Picture) is a simple image format designed
|
||||
for ease of encoding and decoding while maintaining a relatively good
|
||||
compression ratio for various purposes. The general idea is to make
|
||||
something "good enough" while being simple.
|
||||
**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 under 1000 lines of relatively
|
||||
This reference implementation fits in around 1000 lines of relatively
|
||||
simple Rust, while maintaining decent compression and decompression
|
||||
speeds.
|
||||
|
||||
Additionally, it also supports both lossless and lossy encoding schemes,
|
||||
with the lossy version using Discrete Cosine Transform encoding like JPEG.
|
||||
## 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
|
||||
|
|
Loading…
Reference in a new issue