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.

agentskillexchange Updated 28 repo stars

File contents

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.

Documentation

Source

agentskillexchange/skills/tree/main/skills/auto-crop-images-around-the-most-important-subject-before-generating-thumbnails commit 4d8a07961c

Frequently asked questions

npx skillmds@latest add agentskillexchange/auto-crop-images-around-the-most-important-subject-before-ge