Crates.io | moi |
lib.rs | moi |
version | 0.1.1 |
source | src |
created_at | 2023-06-04 11:03:51.144516 |
updated_at | 2023-06-04 11:13:08.005597 |
description | Encoder and decoder implementations for the MOI image compression format. |
homepage | https://gitlab.com/terepy/moi |
repository | https://gitlab.com/terepy/moi |
max_upload_size | |
id | 882106 |
size | 28,991 |
This repo contains the specification and an implementation of MOI, an image format designed to beat PNG in performance, size, and simplicity.
MOI was inspired by QOI, it takes the byte aligned tag encoding style of QOI and adds and tweaks some opcodes to achieve better compression while sacrificing some performance.
fmt | encode | decode | size
moi | 20.745s | 11.192s | 21.65%
qoi | 6.774s | 5.712s | 25.58%
png5 | 111.28s | 15.128s | 23.66%
png9 | 512.90s | 15.021s | 22.92%
Benchmark timings were collected on an AMD Ryzen 7 3750H
The same test suite as QOI was used, ignoring two images with broken checksums.
Benchmark repository here