35.4 Create
The create tool allows PDFs to generated from simple text files full of pdf operator
streams plus formatted comments.
$ mutool create usage: mutool create [-o output.pdf] [-O options] page.txt [page2.txt ...] -o - name of PDF file to create -O - comma separated list of output options page.txt content stream with annotations for creating resources Content stream special commands: %%MediaBox LLX LLY URX URY %%Rotate Angle %%Font Name Filename (or base 14 font name) %%Image Name Filename PDF output options: decompress: decompress all streams (except compress-fonts/images) compress: compress all streams compress-fonts: compress embedded fonts compress-images: compress images ascii: ASCII hex encode binary streams pretty: pretty-print objects with indentation linearize: optimize for web browsers sanitize: clean up graphics commands in content streams garbage: garbage collect unused objects or garbage=compact: ... and compact cross reference table or garbage=deduplicate: ... and remove duplicate objects