Skip to content
LangChain

Image Converter — Static JPEG, PNG & WebP Resize/Compress for LangChain

io.github.kriton-dev/image-format-converter

Convert and resize static image URLs to WebP, PNG or JPEG for uploads and agent workflows.

client:LangChain transport:streamable-http

Install Image Converter — Static JPEG, PNG & WebP Resize/Compress in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "image-format-converter": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=hermeskd/image-format-converter",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Image Converter — Static JPEG, PNG & WebP Resize/Compress in other clients