跳到正文
TakoAPI
返回技能列表

imagemagick

由 kesslerio 提供

Moltbook
3.9k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Comprehensive ImageMagick operations for image manipulation.

描述

该技能的功能

Wraps ImageMagick CLI operations for image manipulation tasks in Moltbot. Covers background removal, resizing, format conversion, watermarking, and batch processing. Includes a helper script for removing solid-color backgrounds with configurable tolerance.

Bundles the most common ImageMagick one-liners into reusable scripts so you don't have to look up flag syntax each time.

何时使用

  • Remove white background from a product icon
  • Batch generate iOS app icon sizes from a single source
  • Convert PNG assets to WebP for web delivery
  • Add a watermark to a base image
  • Apply rounded corners to an app screenshot

示例工作流

输入

User asks: Remove the white background from icon.png and export as a transparent PNG

智能体
  1. 1

    Run remove-bg.sh with input icon.png and output icon-clean.png

  2. 2

    Apply default tolerance of 20 and target color #FFFFFF

  3. 3

    ImageMagick uses fuzz factor to flood-fill and cut matching pixels

  4. 4

    Writes result as PNG with alpha channel

输出

icon-clean.png with white background replaced by transparency

前置要求

  • ImageMagick installed via brew or apt/dnf

安装

clawhub install kesslerio/imagemagick

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接