# zhangyuanwei/node-images

Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Nodejs

Repository: https://github.com/zhangyuanwei/node-images
Canonical: https://ross.abutalabs.com/products/node-images
Homepage: https://npmjs.org/package/images
Language: C++
License: MIT
License Family: permissive
Last push: 2024-04-29T02:02:06+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": 4938, "days_push": 857, "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 1554, forks 200 (observed 2026-08-28T04:05:03.007038+00:00)

## What it is
A lightweight cross-platform Node.js library (native C++ addon) for decoding PNG/JPEG/GIF images and encoding PNG/JPEG images. It provides a jQuery-like chaining API for loading, resizing, drawing, and saving images without external image library dependencies.

## Use cases
- resize images in nodejs
- convert png to jpeg in node
- add a watermark logo to an image
- decode gif files in nodejs
- compress jpeg images with quality settings
- process uploaded images without installing imagemagick

## When to choose
- you need lightweight image decode/encode in Node.js with no external dependencies
- you want a simple chaining API for basic resize, draw, and save operations
- you only need PNG/JPEG/GIF support

## When to avoid
- you need advanced image manipulation like filters, color spaces, or many formats (use sharp instead)
- you need active development or support for the latest Node.js versions
- you need 32-bit platform support

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing
- domain: image-processing, web-development
- platform: windows
- tags: image-decoder, image-encoder, native-addon, cpp, png, jpeg, gif, chaining-api, nodejs, macos, linux

## Member repositories
- zhangyuanwei/node-images (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.007038+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-30T04:30:07.338564+00:00, confidence not recorded.
  - readme: https://github.com/zhangyuanwei/node-images (fetched 2026-08-28T04:05:03.007038+00:00, sha 40f98387d2f5)
  - homepage: https://npmjs.org/package/images (fetched 2026-08-29T11:30:43.265136+00:00, sha dfc8b4185f92)
- Data as of 2026-08-30T08:39:29.467469+00:00.
