view mupdf-source/docs/tools/mutool-bake.rst @ 23:3b13504f9d89

Use the official packaging.version.Version to parse version strings. While there revert the previons change to _int_rc(): it is not needed now.
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 19 Sep 2025 12:40:07 +0200
parents b50eed0cc0ef
children
line wrap: on
line source

mutool bake
==========================================

The ``bake`` command bakes PDF forms into static content.

.. code-block:: bash

	mutool bake [options] input.pdf [output.pdf]

``[options]``
	Options are as follows:

	``-A``
		Do not bake annotations into page contents.

	``-F``
		Do not bake form fields into page contents.

	``-O`` options
		See :doc:`/reference/common/pdf-write-options`.
		If none are given ``garbage`` is used by default.

``input.pdf``
	Name of input PDF file.

``output.pdf``
	Name of output PDF file. If none is given ``out.pdf`` is used by default.