I have edited a PDF using some of MuPDFs modification API and I cannot figure out how to save this modified PDF to disk. Is this possible? If so how can I save this PDF?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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’m told there is code in mupdfclean.c that demonstrates the use of the function.