Skip to content

export notation generated by alpatex into image file #481

Answered by Danielku15
sugizo asked this question in Q&A
Discussion options

You must be logged in to vote

AlphaTab provides the necessary APIs to build such an export functionality but it does not provide it out of the box.

If you just want to render the score off-screen you will need to use the Low Level APIs as described here: https://www.alphatab.net/docs/guides/lowlevel-apis/#rendering-files-via-scorerenderer

To render SVG contatenate all chunks into one big SVG. For Raster Images use the HTML5 engine and then use the resulting Canvas Element to export it to an image. If you are using the C# version you can fetch the SKImage instances and render them to a full canvas.

For C# there is a small sample project here: https://github.com/CoderLine/alphaTab/tree/develop/src.csharp/Samples/AlphaTa…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sugizo
Comment options

@Danielku15
Comment options

Answer selected by Danielku15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants