MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / can_save_incrementally

Method can_save_incrementally

src/__init__.py:4233–4238  ·  view source on GitHub ↗

Check whether incremental saves are possible.

(self)

Source from the content-addressed store, hash-verified

4231 return val
4232
4233 def can_save_incrementally(self):
4234 """Check whether incremental saves are possible."""
4235 pdf = _as_pdf_document(self, required=0)
4236 if not pdf.m_internal:
4237 return False
4238 return mupdf.pdf_can_be_saved_incrementally(pdf)
4239
4240 def bake(self, *, annots: bool = True, widgets: bool = True) -> None:
4241 """Convert annotations or fields to permanent content.

Callers 9

embedded_copyFunction · 0.80
embedded_delFunction · 0.80
embedded_addFunction · 0.80
embedded_updFunction · 0.80
embedded_copyFunction · 0.80
embedded_delFunction · 0.80
embedded_addFunction · 0.80
embedded_updFunction · 0.80

Calls 1

_as_pdf_documentFunction · 0.85

Tested by 1