ailon / markerjs2

Add image annotation to your web apps.
https://markerjs.com
Other
143 stars 39 forks source link

Running markersj2 renderer on serverside? #141

Closed tarngerine closed 1 year ago

tarngerine commented 1 year ago

e.g. with node-canvas

Curious if this is something that you've explored, but it's something we are investigating.

ailon commented 1 year ago

Hi there. Sorry, haven't tried that. Keep in mind that it not purely renders annotation data onto canvas, but actually creates the whole SVG thing using DOM and then renders it. So it would need the whole headless browser (or something) to render on the server.