auto-crop-images-around-the-most-important-subject-before-generating-thumbnails · git:20260518.642238b · 2026-05-18 · sha256 8fe6c43299027d82

auto-crop-images-around-the-most-important-subject-before-generating-thumbnails git:20260518.642238bA

Immutable. This exact content is served forever at /api/v1/blob/8fe6c43299027d82.

---
name: "Auto-crop images around the most important subject before generating thumbnails"
slug: "auto-crop-images-around-the-most-important-subject-before-generating-thumbnails"
description: "Use smartcrop when an agent needs to choose a sensible crop automatically instead of center-cropping every image. The workflow scores visual saliency, returns crop coordinates for a target aspect ratio, and hands those coordinates to an image pipeline that renders the final thumbnail or social card."
verification: "listed"
source: "https://www.npmjs.com/package/smartcrop"
author: "Jonas Wagner"
publisher_type: "Open Source Project"
category: "Image & Creative Automation"
framework: "Multi-Framework"
tool_ecosystem:
  npm_package: "smartcrop"
  npm_weekly_downloads: 49019
---

# Auto-crop images around the most important subject before generating thumbnails

Use smartcrop when an agent needs to choose a sensible crop automatically instead of center-cropping every image. The workflow scores visual saliency, returns crop coordinates for a target aspect ratio, and hands those coordinates to an image pipeline that renders the final thumbnail or social card.

## Prerequisites

Node.js and npm

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://www.npmjs.com/package/smartcrop

## Documentation

- https://github.com/jwagner/smartcrop.js

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/auto-crop-images-around-the-most-important-subject-before-generating-thumbnails/)