view mupdf-source/docs/tools/mutool-bake.rst @ 46:7ee69f120f19 default tip

>>>>> tag v1.26.5+1 for changeset b74429b0f5c4
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 17:17:30 +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.