Re:Stanford CS248: Implement an SVG Rasterizer
by FigmentEngine on Saturday March 21, 2020 @04:47AM
(#22645365)
not javascript, but screenshots work best - other approaches suffer from css and rendering bugs.
best way is to just use your browser in headless mode from the command line. you can do a screenshot, and specify the window size.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Hea...
https://developers.google.com/web/updates/2017/04/headless-c...
and in dev panel https://developer.mozilla.org/en-US/docs/Tools/Taking_screen...