PyMuPDF 1.24.2 DocumentationFor example: import fitz doc_a = fitz.open("a.pdf") # open the 1st document doc_b = fitz.open("b.svg") # open the 2nd document doc_a.insert_file(doc_b) # merge the docs doc_a.save("a+b.pdf") # save the handling is at the core of MuPDF’s functionality. • You can render a page into a raster or vector (SVG) image, optionally zooming, rotating, shifting or shearing it. • You can extract a page’s text and data (a Python bytes object). Note: You can also create a vector image of a page by using Page.get_svg_image(). Refer to this Vector Image Support page for details. 38 Chapter 6. Tutorial PyMuPDF Documentation0 码力 | 565 页 | 6.84 MB | 1 年前3
PyMuPDF 1.12.2 documentationFZ_ENABLE_... to 0. */ /* #define FZ_ENABLE_PDF 1 */ /* #define FZ_ENABLE_XPS 1 */ /* #define FZ_ENABLE_SVG 1 */ /* #define FZ_ENABLE_CBZ 1 */ /* #define FZ_ENABLE_IMG 1 */ /* #define FZ_ENABLE_TIFF 1 */ /* getLinks() get all links Page.getPixmap() create a Pixmap Page.getSVGimage() convert page image to SVG format Page.getText() extract the page’s text Page.getTextBlocks() extract text blocks as a Python by the page. Same as Document.getPageImageList(). getSVGimage(matrix = fitz.Identity) Create an SVG image from the page. Only full page images are currently supported. Parameters: matrix (Matrix) –0 码力 | 387 页 | 2.70 MB | 1 年前3
MuPDF 1.22.0 DocumentationSupported file formats MuPDF supports the following file formats: pdf, epub, xps, cbz, mobi, fb2, svg And a suite of image types, e.g. png, jpg, bmp etc. 4 Chapter 1. Quick Start Guide CHAPTER TWO based viewer can read PDF, XPS, CBZ, EPUB, & FB2 documents as well as typical image formats including SVG. It compiles on any platform that has a GLUT library. The latest release builds on Linux, Windows, formats are: pbm, pgm, ppm, pam, png, pwg, pcl and ps. • The supported output vector formats are: svg, pdf, and debug trace (as xml). • The supported output text formats are: plain text, html, and structured0 码力 | 175 页 | 698.87 KB | 8 月前3
MuPDF 1.23.0 DocumentationSupported file formats MuPDF supports the following file formats: pdf, epub, xps, cbz, mobi, fb2, svg And a suite of image types, e.g. png, jpg, bmp etc. 4 Chapter 1. Quick Start Guide CHAPTER TWO based viewer can read PDF, XPS, CBZ, EPUB, & FB2 documents as well as typical image formats including SVG. It compiles on any platform that has a GLUT library. The latest release builds on Linux, Windows, formats are: pbm, pgm, ppm, pam, png, pwg, pcl and ps. • The supported output vector formats are: svg, pdf, and debug trace (as xml). • The supported output text formats are: plain text, html, and structured0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 DocumentationSupported file formats MuPDF supports the following file formats: pdf, epub, xps, cbz, mobi, fb2, svg And a suite of image types, e.g. png, jpg, bmp etc. 4 Chapter 1. Quick Start Guide CHAPTER TWO based viewer can read PDF, XPS, CBZ, EPUB, & FB2 documents as well as typical image formats including SVG. It compiles on any platform that has a GLUT library. The latest release builds on Linux, Windows, formats are: pbm, pgm, ppm, pam, png, pwg, pcl and ps. • The supported output vector formats are: svg, pdf, and debug trace (as xml). • The supported output text formats are: plain text, html, and structured0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 DocumentationSupported file formats MuPDF supports the following file formats: pdf, epub, xps, cbz, mobi, fb2, svg And a suite of image types, e.g. png, jpg, bmp etc. 4 Chapter 1. Quick Start Guide CHAPTER TWO based viewer can read PDF, XPS, CBZ, EPUB, & FB2 documents as well as typical image formats including SVG. It compiles on any platform that has a GLUT library. The latest release builds on Linux, Windows, formats are: pbm, pgm, ppm, pam, png, pwg, pcl and ps. • The supported output vector formats are: svg, pdf, and debug trace (as xml). • The supported output text formats are: plain text, html, and structured0 码力 | 249 页 | 830.15 KB | 8 月前3
共 6 条
- 1













