view mupdf-source/docs/cookbook/javascript/advanced.rst @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
line wrap: on
line source

.. highlight:: javascript

Advanced
========

Create PDF
------------------------------------------------------------------------------

.. literalinclude:: ../../examples/pdf-create.js

Create PDF (low level)
------------------------------------------------------------------------------

.. literalinclude:: ../../examples/pdf-create-lowlevel.js

Merge PDF files
------------------------------------------------------------------------------

.. literalinclude:: ../../examples/pdf-merge.js

Create PDF with thumbnails
------------------------------------------------------------------------------

.. literalinclude:: ../../examples/create-thumbnail.js

Use Device to draw graphics
------------------------------------------------------------------------------

.. literalinclude:: ../../examples/draw-device.js

Trace Device
------------

.. literalinclude:: ../../examples/trace-device.js