Loading...
Loading...
Converts an image to a different format (PNG, JPG, WebP). Use when you need to change image formats, optimize for web, or prepare images for specific applications.
npx skill4agent add neversight/skills_feed image-convertagent-media image convert --in <path> --format <format> [options]| Option | Required | Description |
|---|---|---|
| Yes | Input file path or URL |
| Yes | Output format: |
| No | Quality for lossy formats (1-100, default: 80) |
| No | Output path, filename or directory (default: ./) |
| No | Provider to use (default: auto-detect) |
{
"ok": true,
"media_type": "image",
"action": "convert",
"provider": "local",
"output_path": "converted_123_abc.webp",
"mime": "image/webp",
"bytes": 23456
}agent-media image convert --in photo.png --format webpagent-media image convert --in photo.png --format jpg --quality 95agent-media image convert --in image.png --format webp --out ./converted