PyMuPDF 1.24.2 Documentationitems stored in the metadata object: # ---------------------------------- # metadata including private items # ---------------------------------- metadata = {} # make my own metadata dict what, value --------------------------------------------------------------- Vice versa, you can also store private metadata items in a PDF. It is your responsibility to make sure that these items conform to PDF specifications ValueError("PDF has no metadata") xref = int(value.replace("0 R", "")) # extract the metadata xref # add some private information doc.xref_set_key(xref, "mykey", fitz.get_pdf_str(" is Beijing")) # # after executing0 码力 | 565 页 | 6.84 MB | 1 年前3
MuPDF 1.22.0 Documentationcode. • pdf, xps, etc., for interpreter specific code. Prefixes are optional (but encouraged) for private functions and types. Avoid using ‘get’ as this is a meaningless and redundant filler word. These self-signed certificate using OpenSSL by following these steps: 1) Generate a self-signed certificate and private key: $ openssl req -x509 -days 365 -newkey rsa:2048 -keyout cert.pem -out cert.pem 2) Convert to object an instance of PDFPKCS7Signer is required. new(filename, password) Read a certificate and private key from a pfx file and create a signer to hold this information. Used with PDFWid- get.sign().0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 Documentationcode. • pdf, xps, etc., for interpreter specific code. Prefixes are optional (but encouraged) for private functions and types. Avoid using ‘get’ as this is a meaningless and redundant filler word. These self-signed certificate using OpenSSL by following these steps: 1) Generate a self-signed certificate and private key: $ openssl req -x509 -days 365 -newkey rsa:2048 -keyout cert.pem -out cert.pem 2) Convert to FZ_COLORSPACE_SEPARATION, }; struct fz_colorspace_s { enum fz_colorspace_type type; int n; char *name; private internal fields }; fz_colorspace *fz_keep_colorspace(fz_context *ctx, fz_colorspace *colorspace);0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 Documentationcode. • pdf, xps, etc., for interpreter specific code. Prefixes are optional (but encouraged) for private functions and types. Avoid using ‘get’ as this is a meaningless and redundant filler word. These self-signed certificate using OpenSSL by following these steps: 1) Generate a self-signed certificate and private key: $ openssl req -x509 -days 365 -newkey rsa:2048 -keyout cert.pem -out cert.pem 2) Convert to FZ_COLORSPACE_SEPARATION, }; struct fz_colorspace_s { enum fz_colorspace_type type; int n; char *name; private internal fields }; fz_colorspace *fz_keep_colorspace(fz_context *ctx, fz_colorspace *colorspace);0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentationcode. • pdf, xps, etc., for interpreter specific code. Prefixes are optional (but encouraged) for private functions and types. Avoid using ‘get’ as this is a meaningless and redundant filler word. These self-signed certificate using OpenSSL by following these steps: 1) Generate a self-signed certificate and private key: $ openssl req -x509 -days 365 -newkey rsa:2048 -keyout cert.pem -out cert.pem 2) Convert to FZ_COLORSPACE_SEPARATION, }; struct fz_colorspace_s { enum fz_colorspace_type type; int n; char *name; private internal fields }; fz_colorspace *fz_keep_colorspace(fz_context *ctx, fz_colorspace *colorspace);0 码力 | 249 页 | 830.15 KB | 8 月前3
共 5 条
- 1













