Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки