Curzibn/Luban
Luban 2(鲁班 2) —— 高效简洁的 Android 图片压缩工具库,像素级还原微信朋友圈压缩策略。(An efficient and concise Android image compression library that closely replicates the compression strategy of WeChat Moments.) observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 63
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3692
- days_rel: n/a
- days_push: 226
- n_releases_24m: 0
Adoption not part of the score
13761 stars · 2257 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Luban 2 is an Android image compression library written in Kotlin that reverse-engineers WeChat Moments' compression strategy to produce similarly small, high-quality images. It uses Kotlin Coroutines for async processing and TurboJPEG for efficient encoding, with adaptive resolution and bitrate strategies.
Use cases
- compress photos before uploading from an Android app
- reduce image file sizes to match WeChat Moments quality
- downscale high-resolution camera photos to save bandwidth
- handle very long screenshots or panorama images without OOM
- preserve PNG transparency while converting large PNGs to JPEG
When to choose
- you build Android apps that upload user photos and need small, visually good results
- you want compression output close to WeChat Moments
- you need coroutine-based async compression with robust edge-case handling
When to avoid
- you need image compression on platforms other than Android
- you need general-purpose image editing beyond compression and resizing
- you require exact byte-identical WeChat compression output
Facets
library · maturity active
image-processing compression image-processing mobile-development android-tools image-compression kotlin coroutines turbojpeg wechat-moments jpeg android
1 source
- readme: https://github.com/Curzibn/Luban · fetched 2026-08-28 · 78a5a2a29da8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Curzibn/Luban | main | 51 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem