# nodeca/pica

Resize image in browser with high quality and high speed

Repository: https://github.com/nodeca/pica
Canonical: https://ross.abutalabs.com/products/pica
Homepage: http://nodeca.github.io/pica/demo/
Language: TypeScript
License: MIT
License Family: permissive
Topics: image, resize
Last push: 2026-08-15T12:29:51+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": 4385, "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 4144, forks 256 (observed 2026-08-28T04:08:36.358994+00:00)

## What it is
A browser-side JavaScript library for high-quality, high-speed image resizing using canvas, web workers, WebAssembly, and createImageBitmap. It automatically selects the best available technology to resize images without pixelation.

## Use cases
- resize images in the browser before uploading
- generate thumbnails client-side
- reduce image upload size to save bandwidth
- downscale large photos without pixelation
- resize images without a server-side image pipeline

## When to choose
- you need fast, high-quality client-side image resizing in a modern browser
- you want to shrink images before upload to save server resources
- you need Lanczos-quality resampling in JavaScript

## When to avoid
- you need EXIF orientation handling or metadata preservation (use image-blob-reduce instead)
- you need server-side or Node.js image processing
- you must support legacy browsers like IE

## Facets
- artifact type: library
- maturity: stable
- function: image-processing
- domain: image-processing, web-development, frontend
- platform: browser
- tags: image-resize, canvas, lanczos, webworkers, webassembly, thumbnails, web-server

## Member repositories
- nodeca/pica (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.358994+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-29T18:22:57.282359+00:00, confidence not recorded.
  - readme: https://github.com/nodeca/pica (fetched 2026-08-28T04:08:36.358994+00:00, sha ba774d9e7d3d)
  - homepage: http://nodeca.github.io/pica/demo/ (fetched 2026-08-29T09:14:09.426883+00:00, sha 502201a8307d)
  - registry_npm: https://registry.npmjs.org/pica (fetched 2026-08-29T09:14:09.435836+00:00, sha d28cce02dc00)
- Data as of 2026-08-30T08:39:29.467469+00:00.
