3 ms·
Previously hosted at JsPDF.Com. I'm not sure why it's moved, but I've used this library and can attest to its awesomeness. It seems really stable to me. I use i
by HarrietJones 13y ago
Previously hosted at JsPDF.Com. I'm not sure why it's moved, but I've used this library and can attest to its awesomeness. It seems really stable to me. I use it to create and print off 4 page employment applications.
Gotchas :
1 - It can be hard to get downloading working using the Flash shim (For IE9 and below). It is possible though.
2 - Images have to be Base64 encoded, and that can be a royal pain.
I'm not the worlds best developer by a long chalk, but I had this library wrapped in a reporting class in a couple of days, and I can now pretty easily just throw some JS Structures at it, and have the tabular data printed out with headers and footers. I wish I could share it.
- e98cuenc 13y agoYou can use the data url of the image, I made a small test here: http://cuenca-stuff.s3.amazonaws.com/jpgtopdf/index.html http://cuenca-stuff.s3.amazonaws.com/jpgtopdf/index.html (I don't know if by "base64" you mean "data url", which usually encodes the raw data in base64...)