convert_mermaid_to_jpeg
Convert Mermaid diagram files into JPEG images with configurable size, resolution, and quality. Specify input and optional output paths to generate a shareable image.
Instructions
Convert a mermaid diagram file to JPEG image
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor for higher resolution (default: 2) | |
| width | No | Width of the mermaid canvas (default: 2400) | |
| height | No | Height of the mermaid canvas (default: 1600) | |
| quality | No | JPEG quality (1-100, default: 95) | |
| input_file | Yes | Absolute path to the input mermaid file | |
| output_file | No | Absolute path for the output JPEG file (optional) |