Can I save a modified PDF file using MuPDF?

I edited the PDF using some of the MuPDF modification APIs and I cannot figure out how to save this modified PDF to disk. Is it possible? If so, how can I save this PDF?

+5
source share
1 answer

You need to call pdf_write_document. However, this was added after the release of version 1.0, so you need to get the latest source code from the Git repository if you want to use it.

I am told that in mupdfclean.c there is code that demonstrates the use of the function.

+5
source

All Articles