Pictomancer.ai
v0.1.0• Pictomancer.ai
Agent-to-agent image processing service. Resize, convert, compress, and pipeline images via REST, MCP, or A2A.
Skills
-
Analyze image
Fetch an image and return metadata (file size in bytes). Accepts a public URL or base64-encoded image.
imagemetadataanalyzesize -
Resize image
Scale an image by a factor. Supports uniform scaling (scale) or independent axes (scale_x, scale_y). Output formats: jpeg, png, webp, tiff, gif.
imageresizescaledimensions -
Compress image
Re-encode an image with q (1-100) and format options to reduce file size. Supports q (quality), strip, compression. Formats: jpeg, png, webp, tiff, gif.
imagecompressoptimizequalityfile-size -
Convert image format
Convert an image to a different format. Supports: jpeg, png, webp, tiff, gif. Options: q (quality), strip metadata, lossless (webp only).
imageconvertformatwebppngjpeg -
Image processing pipeline
Chain multiple image operations in sequence (max 10). Operations: resize, compress, convert, crop. Each step receives the output of the previous one.
imagepipelinebatchchainmulti-step
Integration
import asyncio
from a2a_registry import AsyncRegistry
async def main():
async with AsyncRegistry() as registry:
agent = await registry.get_by_id("839daa96-9228-4b3d-9840-a35b92fa855d")
client = await agent.async_connect()
print(f"Connected to {agent.name}")
asyncio.run(main())