Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

imagemagick

bởi kesslerio

Moltbook
3.9kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Comprehensive ImageMagick operations for image manipulation.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

icon-clean.png with white background replaced by transparency

Yêu cầu

  • ImageMagick installed via brew or apt/dnf

Cài đặt

clawhub install kesslerio/imagemagick

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết