Closed Flocksserver closed 2 years ago
Hi, thanks for your work. It would be really great to have a simple API to get the pdf as Vec<u8>. Something like:
Vec<u8>
let (doc, _, _) = PdfDocument::new("Test", Mm(247.0), Mm(210.0), "Layer 1"); let buf: Vec<u8> = doc.finish();
This is what I would need for my use case.
Cheers, Marcel
thanks a lot! I mean, it was also possible before, but it felt very hacky, especially when the rest of the lib api is so clean and easy to use 🙏
Hi, thanks for your work. It would be really great to have a simple API to get the pdf as
Vec<u8>
. Something like:This is what I would need for my use case.
Cheers, Marcel