pdfspine
API reference

Functions

Reference for the module-level functions exported directly from pdfspine — opening, logging, color, text, quad recovery, and conversion helpers.

Functions exported directly from pdfspine.

Opening & setup

pdfspine.open

Full API for pdfspine.open — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

pdfspine.install_fitz_shim

Full API for pdfspine.install_fitz_shim — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

pdfspine.identity_matrix

Full API for pdfspine.identity_matrix — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Logging

Full API for pdfspine.log, pdfspine.set_log, pdfspine.message, pdfspine.set_messages — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Color helpers

Full API for pdfspine.sRGB_to_pdf, pdfspine.sRGB_to_rgb — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Text & glyph helpers

Full API for pdfspine.get_text_length, pdfspine.glyph_name_to_unicode, pdfspine.unicode_to_glyph_name, pdfspine.planish_line — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Quad recovery

Full API for pdfspine.recover_quad, pdfspine.recover_bbox_quad, pdfspine.recover_char_quad, pdfspine.recover_line_quad, pdfspine.recover_span_quad — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

PDF string & date helpers

Full API for pdfspine.get_pdf_now, pdfspine.get_pdf_str — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

Image & conversion helpers

Full API for pdfspine.image_profile, pdfspine.ConversionHeader, pdfspine.ConversionTrailer — signatures and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.

On this page