Skip to content

ZJU-REAL/Easel / skills/builtin/image-editing

image-editing

Verified

通用图像处理加工:改尺寸/缩放、裁剪、补边适配平台尺寸、格式转换(png/jpg/webp)、 压缩到目标大小、加文字或图片水印、圆角、多图拼接、生成缩略图、读图片信息。 基于 image_ops.py 确定性处理。 使用时机:用户说"改尺寸"、"缩放图片"、"裁剪"、"压缩图片"、"加水印"、"转格式"、 "圆角"、"拼图/多图联排"、"缩略图"、"适配小红书/朋友圈尺寸"、"把图 pad 成 1:1"。 和 card-*(卡片类)的区别:card-* 是"HTML 设计→渲染出图", image-editing 只加工已有图片,不负责视觉设计。

FileKindSize
EASEL-META.mdmarkdown644 B
SKILL.mdskill md5.7 KB
references/platform-sizes.mdmarkdown1.6 KB

references/platform-sizes.md

View on GitHub
# 各平台推荐图片尺寸与比例

> 图像处理适配参考。像素为常用推荐值,比例是硬约束;不确定时优先按比例(`pad`/`crop`)处理。

## 小红书(RED)
- 竖版图文卡片:**1080×1440**(3:4)— 首选,信息密度高
- 竖版海报/视频封面:**1080×1920**(9:16)
- 方图:1080×1080(1:1)
- 单帖最多 18 图,常用 ≤9 张

## 微信
- 朋友圈单图:**1:1**(1080×1080)推荐,避免被裁
- 朋友圈多图:正方形宫格,统一 1:1 拼接最整齐
- 公众号头图:**900×383**(约 2.35:1)
- 公众号正文配图:宽 ≥ 900px,比例不限

## 抖音 / 视频号 / 快手
- 竖版封面/画面:**1080×1920**(9:16)
- 部分横版:1920×1080(16:9)

## 微博
- 配图:**1:1**(1080×1080)或 4:3
- 长图文:宽 ≥ 1080px

## 知乎 / 公众号横图
- 文章封面:**16:9**(1920×1080)
- 卡片金句:16:9

## X / Twitter
- 单图:**16:9**(1600×900)
- 多图:并排显示,1:1 或 16:9

## 通用比例速查
| 比例 | 典型像素 | 场景 |
|------|----------|------|
| 1:1  | 1080×1080 | 朋友圈/微博/头像 |
| 3:4  | 1080×1440 | 小红书图文 |
| 9:16 | 1080×1920 | 竖版海报/短视频封面 |
| 16:9 | 1920×1080 | 横版封面/金句卡 |
| 4:3  | 1440×1080 | 传统横图 |

## 处理策略
- **保全画面**(不裁不变形)→ `pad --ratio X:Y`:补边到目标比例
- **满版无边**(可裁掉边缘)→ `crop --width W --height H`:居中裁到目标尺寸
- **仅缩小体积/像素** → `resize` + `compress --max-kb`
- 头像/圆形素材 → `round --radius-percent 50`
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall