export_png_pages
Export each page of a MuseScore score as separate PNG images. Adjust DPI and trim whitespace for customized output.
Instructions
Export each page of a score as a PNG image.
Args: score_b64: Base64-encoded score file. input_suffix: Input extension, e.g. "mscz". dpi: Output resolution in dots per inch (1–2400, default 150). trim: If True, trim whitespace borders (0 px margin).
Returns: List of base64-encoded PNG strings, one per page, in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score_b64 | Yes | ||
| input_suffix | Yes | ||
| dpi | No | ||
| trim | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |