# buaazp/zimg

A lightweight and high performance image storage and processing system.

Repository: https://github.com/buaazp/zimg
Canonical: https://ross.abutalabs.com/products/zimg
Homepage: http://zimg.buaa.us
Language: C
License: BSD-3-Clause
License Family: permissive
Last push: 2018-03-29T09:22:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4811, "days_push": 3079, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2683, forks 399 (observed 2026-08-28T04:07:10.135376+00:00)

## What it is
zimg is a lightweight, high-performance image storage and processing server written in C. It serves resized, cropped, rotated, and reformatted images via URL parameters and supports distributed storage backends like memcached, Redis, beansdb, and SSDB.

## Use cases
- serve dynamically resized images from a self-hosted image server
- store and deliver user-uploaded images at high concurrency
- generate thumbnails on the fly via URL parameters
- replace nginx plus PHP image processing with a single fast server
- customize image compression rules with Lua scripts
- store images in distributed backends like Redis or memcached

## When to choose
- you need a standalone high-concurrency image hosting and processing server
- you want on-the-fly resizing, cropping, rotation, and format conversion via simple URLs
- you prefer a lightweight C server over heavyweight image processing stacks
- you need distributed image storage with memcached or Redis protocol backends

## When to avoid
- you need a managed cloud image service with CDN integration out of the box
- your project requires active community development and frequent updates
- you need features beyond image storage and processing, such as video or document handling
- you are not comfortable building C software with dependencies like ImageMagick and LuaJIT

## Facets
- artifact type: service
- maturity: maintenance
- function: image-processing, http-server, file-upload, caching
- domain: image-processing, web-development, self-hosted, media
- platform: self-hosted
- tags: image-storage, image-resizing, high-concurrency, lua-scripting, memcached, redis, linux, web-server

## Member repositories
- buaazp/zimg (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.135376+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:52.691267+00:00, confidence not recorded.
  - readme: https://github.com/buaazp/zimg (fetched 2026-08-28T04:07:10.135376+00:00, sha 03e7264ddd5c)
  - homepage: http://zimg.buaa.us (fetched 2026-08-29T10:00:00.888052+00:00, sha 20cae00c9a2a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
