Is it possible to save a modified PDF using MuPDF?
Asked Answered
B

1

6

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?

Bernat answered 16/7, 2012 at 15:26 Comment(0)
A
6

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.

Acquiesce answered 17/7, 2012 at 7:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.