muesli/smartcrop
smartcrop finds good image crops for arbitrary crop sizes observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4531
- days_rel: n/a
- days_push: 1154
- n_releases_24m: 0
Adoption not part of the score
1855 stars · 117 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pure Go library that finds good image crops for arbitrary crop sizes, based on Jonas Wagner's smartcrop.js. It includes a simple CLI application for cropping images from the command line.
Use cases
- smart crop images to arbitrary aspect ratios
- generate thumbnails that keep the subject centered
- crop photos automatically for different screen sizes
- batch crop images from the command line
- find the most interesting region of an image to crop
When to choose
- you need content-aware cropping in a Go application
- you want a dependency-light, pure Go image cropping solution
- you need a CLI tool to crop images to specific dimensions
When to avoid
- you need face detection or deep-learning-based cropping
- you work primarily in JavaScript (use smartcrop.js instead)
- you need the library to also resize or encode images for you
Facets
library · maturity maintenance
image-processing image-processing computer-vision go cross-platform cli smart-cropping content-aware-crop thumbnailing pure-go
1 source
- readme: https://github.com/muesli/smartcrop · fetched 2026-08-28 · 8fd7d5ac6fca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| muesli/smartcrop | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="muesli/smartcrop")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem