diff --git a/docs/page.rst b/docs/page.rst index 12704deba..ff34592df 100644 --- a/docs/page.rst +++ b/docs/page.rst @@ -2004,7 +2004,7 @@ In a nutshell, this is what you can do with PyMuPDF: * create "n-up" versions of existing PDF files, combining several input pages into **one output page** (see example `combine.py `_), * create "posterized" PDF files, i.e. every input page is split up in parts which each create a separate output page (see `posterize.py `_), - * include PDF-based vector images like company logos, watermarks, etc., see `svg-logo.py `_, which puts an SVG-based logo on each page. + * include PDF-based vector images like company logos, watermarks, etc., see `svg.py `_, which puts an SVG-based logo on each page. :arg rect_like rect: where to place the image on current page. Must be finite and its intersection with the page must not be empty. :arg docsrc: source PDF document containing the page. Must be a different document object, but may be the same file. diff --git a/docs/pixmap.rst b/docs/pixmap.rst index 679773622..5f9b723d5 100644 --- a/docs/pixmap.rst +++ b/docs/pixmap.rst @@ -177,7 +177,7 @@ Have a look at the :ref:`FAQ` section to see some pixmap usage "at work". .. method:: __init__(self, doc, xref) - **From a PDF image:** Create a pixmap from an image **contained in PDF** *doc* identified by its :data:`xref`. All pimap properties are set by the image. Have a look at `extract-img1.py `_ and `extract-img2.py `_ to see how this can be used to recover all of a PDF's images. + **From a PDF image:** Create a pixmap from an image **contained in PDF** *doc* identified by its :data:`xref`. All pimap properties are set by the image. Have a look at `extract-from-pages.py `_ and `extract-from-xref.py `_ to see how this can be used to recover all of a PDF's images. :arg doc: an opened |PDF| document. :type doc: :ref:`Document` @@ -674,7 +674,7 @@ psd gray, rgb, cmyk yes .psd Adobe Photoshop Document .. rubric:: Footnotes -.. [#f1] If you need a **vector image** from the SVG, you must first convert it to a PDF. Try :meth:`Document.convert_to_pdf`. If this is not good enough, look for other SVG-to-PDF conversion tools like the Python packages `svglib `_, `CairoSVG `_, `Uniconvertor `_ or the Java solution `Apache Batik `_. Have a look at our Wiki for more examples. +.. [#f1] If you need a **vector image** from the SVG, you must first convert it to a PDF. Try :meth:`Document.convert_to_pdf`. If this is not good enough, look for other SVG-to-PDF conversion tools like the Python packages `svglib `_, `CairoSVG `_, `Uniconvertor `_ or the Java solution `Apache Batik `_. Have a look at our Wiki for more examples. .. [#f2] To also set the alpha property, add an additional step to this method by dropping or adding an alpha channel to the result. diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 19ddb1968..865c5e2ea 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -434,13 +434,13 @@ This document also contains a :ref:`FAQ`. This chapter has close connection to t .. _toc import (PDF only): https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/import-toc/import.py .. _toc export: https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/export-toc/export.py .. _Vector Image Support page: https://github.com/pymupdf/PyMuPDF/wiki/Vector-Image-Support -.. _examples: https://github.com/pymupdf/PyMuPDF/tree/master/examples +.. _examples: https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/examples .. _Pillow documentation: https://Pillow.readthedocs.io .. _here it is!: https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/browse-document/browse.py .. _PySimpleGUI: https://pypi.org/project/PySimpleGUI/ .. _demo.py: https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/demo/demo.py .. _demo-lowlevel.py: https://github.com/pymupdf/PyMuPDF-Utilities/tree/master/demo/demo-lowlevel.py -.. _"MuPDF Explored": https://mupdf.com/docs/mupdf-explored.html +.. _"MuPDF Explored": https://mupdf.com/docs/mupdf_explored.pdf .. _Artifex: https://www.artifex.com .. _pdf-converter.py: https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/convert-document/convert.py .. _PDFjoiner.py: https://github.com/pymupdf/PyMuPDF-Utilities/blob/master/examples/join-documents/join.py