imagemagick
Powerful image processing tools powered by ImageMagick. Remove backgrounds, resize, convert formats, create ICO/ICNS icons, and batch process images.
Quick Install
npm install @openpets/imagemagick pnpm add @openpets/imagemagick Available Tools (6)
These tools are available when you install the imagemagick plugin in your AI assistant.
imagemagick-remove-background
Remove background from an image by making a specific color transparent. Commonly used to remove white backgrounds.
imagemagick-trim
Trim transparent or solid color borders from an image, then optionally resize back to original dimensions centered.
imagemagick-resize
Resize an image to specified dimensions.
imagemagick-convert-format
Convert an image to a different format (PNG, JPG, WEBP, ICO, etc.).
imagemagick-create-ico
Create a Windows ICO file with multiple resolutions from a source image.
imagemagick-create-icns
Create a macOS ICNS file from a source image. Requires iconutil (macOS only).
Example Queries
remove the white background from image.png resize photo.jpg to 800x600 convert logo.png to ICO format create macOS ICNS icon from icon.png batch remove backgrounds from all PNGs in ./icons get info about image.png trim whitespace from screenshot.png Usage Scenarios
icon generation
- 1
remove background from icon.png with 20% fuzz - 2
create ICO file from icon.png - 3
create ICNS file from icon.png
batch processing
- 1
batch remove backgrounds from ./assets/*.png - 2
batch trim all images in ./screenshots
Use imagemagick with Your AI Assistant
This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with imagemagick.
Related Plugins
music
Simple template plugin for OpenCode - customize to build your own plugin
titkok
TikTok plugin for OpenCode - Search and analyze trending videos around specific topics using Playwright web scraping
gelato
Comprehensive plugin for Gelato's print-on-demand API - manage orders, browse product catalogs, get quotes, track shipments, and automate your print fulfillment workflow