# Carven: Resize an image by what matters

> From-scratch seam carving: a gradient-energy map + a min-seam dynamic program + pixel removal, all pure number-grid math (7 tests). Side-by-side content-aware vs naive scale.

Carven is a content-aware image resizer that implements seam carving from scratch. It builds a gradient-energy map, runs a minimum-seam dynamic program to find the least-important path of pixels, and removes it - all as pure number-grid math kept separate from rendering and tested directly. It shows content-aware and naive scaling side by side, and it is a from-scratch, dependency-light build you can download and run locally.

## About the app

Image processing + dynamic programming

## What to take away

- From-scratch seam carving: a gradient-energy map + a min-seam dynamic program + pixel removal, all pure number-grid math (7 tests). Side-by-side content-aware vs naive scale.
- Download: Carven (ZIP)

## Tags

Free software, Carven

## Read the full write-up

/downloads/carven.zip

## We build this for clients

https://dfieldsolutions.com/en/services/full-stack

## More from the lab

- https://dfieldsolutions.com/en/lab/sylex.md — Sylex: Make sense of the slashes
- https://dfieldsolutions.com/en/lab/kindra.md — Kindra: Miss a beat, not the rhythm
- https://dfieldsolutions.com/en/lab/voxara.md — Voxara: Argue better. Lose gracefully
- https://dfieldsolutions.com/en/lab/wraithward.md — Wraithward: Spot the bait before you bite

---

Source: https://dfieldsolutions.com/en/lab/carven
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
