# nodeca/probe-image-size

Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO.

Repository: https://github.com/nodeca/probe-image-size
Canonical: https://ross.abutalabs.com/products/probe-image-size
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-15T06:12:29+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4011, "days_push": 18, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1032, forks 72 (observed 2026-08-28T04:03:18.274872+00:00)

## What it is
A small JavaScript library that reads image dimensions (width, height, type, mime, orientation) from URLs, streams, or buffers without downloading the full file. Supports JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO, AVIF, HEIC, and HEIF.

## Use cases
- get image dimensions without downloading the whole file
- check image size from a url in node.js
- read width and height of an image from a stream
- get image dimensions from a buffer synchronously
- extract exif orientation from images
- validate uploaded image dimensions before processing

## Facets
- artifact type: library
- maturity: active
- function: image-processing, http-client, parser
- domain: image-processing, web-development, files
- platform: browser, cross-platform
- tags: image-size, image-dimensions, metadata-probe, streaming, javascript, nodejs

## Member repositories
- nodeca/probe-image-size (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.274872+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-30T07:06:45.666295+00:00, confidence not recorded.
  - readme: https://github.com/nodeca/probe-image-size (fetched 2026-08-28T04:03:18.274872+00:00, sha 7d693afdc61b)
  - registry_npm: https://registry.npmjs.org/probe-image-size (fetched 2026-08-29T13:06:31.195666+00:00, sha 49ebe56dea2d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
