I want to convert fabricjs object to PDF not just simple image format. Is there any way we can save file as PDF without server side process?
Asked
Active
Viewed 1.1k times
1 Answers
9
You can use canvas API's toDataURL()
method and jspdf.js
to achieve this. Look at Convert canvas to PDF

Community
- 1
- 1

Kesavamoorthi
- 959
- 2
- 11
- 21
-
2Just an FYI for those who are looking for a real non image solution: The linked solution works as I have used it before, however it converts the canvas to an image and inserts the image into a pdf. – Anthony Griggs Dec 25 '19 at 16:53