Possibly not what you are looking for, but on Bela we use a modified version of https://github.com/sebpiq/pd-fileutils%C2%A0to generate a preview SVG from a .pd file. This has the big advantage of not needing Pd, so you could run it in the user's browser or on a server, and consequently it has at least a couple of drawbacks:
There is at least one bug:
Our version has a couple of fixes with respect to mainline, here it is: https://github.com/BelaPlatform/Bela/blob/master/IDE/public/js/pd-fileutils....
On Sunday, 23 December 2018, 16:28:39 GMT, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 12/23/18 5:25 PM, Alexandre Torres Porres wrote:
Hi, what's your best way to do this?
install my patch2svg plugin, and use that.
gmar IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list