开发者

Display PostScript in WPF

I'd like to display some sheet music in my WPF application which was generated by Lilypond. 开发者_Python百科 Lilypond can make postscript and PNG files - I've got the latter working, but I'd much prefer the former so that the music can be resized nicely. Is there a way to do that?


Simplest, but perhaps distasteful to many, would be to shell-out and use an external program render the postscript to png. You'd probably want to display some generic "working, please wait" message, as making an accurate progress-bar would be quite a chore.

Alternately, ghostscript can be used as a library and can read the PS from memory and render to memory, potentially saving some disk-access.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜