trekhleb/js-image-carver
Some data may be outdated — see provenance labels.
🌅 Content-aware image resizer and object remover based on Seam Carving algorithm observed · 2026-10-01
Health v2 · maintenance only
52/100
- Activity 45
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2022
- days_rel: n/a
- days_push: 333
- n_releases_24m: 0
Adoption not part of the score
1594 stars · 150 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript/TypeScript implementation of the Seam Carving algorithm for content-aware image resizing and object removal. It ships as both a reusable library and a hosted web demo where users can resize images or erase objects by masking them.
Use cases
- resize images without distorting objects
- remove unwanted objects from photos
- change image aspect ratio while preserving subject proportions
- learn how the seam carving algorithm works
- shrink image width while keeping the main subject intact
When to choose
- you need content-aware resizing in a JavaScript or browser environment
- you want a simple, MIT-licensed seam carving implementation to study or embed
- you want an interactive demo for removing objects via a mask
When to avoid
- you need high-performance batch processing of very large images (seam carving is computationally expensive)
- you need GPU-accelerated or production-scale image pipelines
- you only need simple scaling or cropping, which standard tools handle faster
Facets
library · maturity active
image-processing image-processing browser seam-carving content-aware-resizing object-removal typescript demo-app algorithms web-server
2 sources
- readme: https://github.com/trekhleb/js-image-carver · fetched 2026-10-01 · 155f526da4cf
- homepage: https://trekhleb.dev/js-image-carver/ · fetched 2026-08-29 · a1971de1419e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trekhleb/js-image-carver | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="trekhleb/js-image-carver")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem