phlsa / gmynd-old

A toolkit that makes creating graphics easy
2 stars 0 forks source link

Could it be a problem to get printable output? #16

Open bohnacker opened 11 years ago

bohnacker commented 11 years ago

We'll probably need a way to produce an easy to handle way of exporting the graphics on the screen as an image or pdf. Will this be a problem?

phlsa commented 11 years ago

It is certainly possible to render our DOM to an image using this little gem: http://html2canvas.hertzen.com

Also, we can just use the print function of the browser to generate PDFs, though that can't be automated as far as I know.

phlsa commented 11 years ago

Also, you need to check the »print background color« box in the print settings to see output in the PDF.