EnglishFrenchSpanish

OnWorks favicon

mutool - Online in the Cloud

Run mutool in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mutool that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mutool - all purpose tool for dealing with PDF files

SYNOPSIS


mutool <sub-command> [options]

DESCRIPTION


mutool is a tool based on MuPDF for dealing with PDF files in various manners. There are
several sub commands available, as described below.

CLEAN


mutool clean [options] input.pdf [output.pdf] [pages]

The clean command pretty prints and rewrites the syntax of a PDF file. It can be used to
repair broken files, expand compressed streams, filter out a range of pages, etc.

If no output file is specified, it will write the cleaned PDF to "out.pdf" in the current
directory.

-p password
Use the specified password if the file is encrypted.

-g Garbage collect objects that have no references from other objects. Give the
option twice to renumber all objects and compact the cross reference table. Give
it three times to merge and reuse duplicate objects.

-s Rewrite content streams.

-d Decompress streams. This will make the output file larger, but provides easy access
for reading and editing the contents with a text editor.

-l Linearize output. Create a "Web Optimized" output file.

-i Toggle decompression of image streams. Use in conjunction with -d to leave images
compressed.

-f Toggle decompression of font streams. Use in conjunction with -d to leave fonts
compressed.

-a ASCII Hex encode binary streams. Use in conjuction with -d and -i or -f to ensure
that although the images and/or fonts are compressed, the resulting file can still
be viewed and edited with a text editor.

-z Deflate uncompressed streams. If combined with -d, any decompressed streams will
be recompressed. If combined with -a, the streams will also be hex encoded after
compression.

pages Comma separated list of page numbers and ranges to include.

EXTRACT


mutool extract [options] file.pdf [object numbers]

The extract command can be used to extract images and font files from a PDF. If no object
numbers are given on the command line, all images and fonts will be extracted.

-p password
Use the specified password if the file is encrypted.

-r Convert images to RGB when extracting them.

INFO


mutool info [options] file.pdf [pages]

The info command lists the resources used on each page in a PDF file. The default is to
list all resource types, but if one or more flags are given, only the flagged types will
be shown.

-p password
Use the specified password if the file is encrypted.

-F List fonts.

-I List images.

-M List page dimensions.

-S List shadings.

-P List patterns.

-X List form and postscript XObjects.

pages Comma separated list of page numbers and ranges to include.

PAGES


mutool pages [options] input.pdf [pages ...]

The pages command dumps information about the size and orientation of pages within the
document.

-p password
Use the specified password if the file is encrypted.

pages Comma separated list of page numbers and ranges to include.

POSTER


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

The poster command splits each page into tiles, and puts each tile on a page of its own.
It's useful for printing a large page onto smaller pieces of paper that can then be glued
together to create a large poster.

-p password
Use the specified password if the file is encrypted.

-x factor
Split the page into this many horizontal pieces.

-y factor
Split the page into this many vertical pieces.

The output will have x times y number of pages for each input page.

SHOW


mutool show [options] file.pdf [object numbers ...]

The show command will print the specified objects and streams to stdout. Streams are
decoded and non-printable characters are represented with a period by default.

-p password
Use the specified password if the file is encrypted.

-o file
Write output to file instead of stdout.

-b Print streams as binary data and omit the object header.

-e Print streams in their original encoded (or compressed) form.

Specify objects by number, or use one of the following special names:

'xref' or 'x'
Print the cross reference table.

'trailer' or 't'
Print the trailer dictionary.

'pagetree' or 'p'
List the object numbers for every page.

'grep' or 'g'
Print all the objects in the file in a compact one-line format suitable for piping
to grep.

'outline' or 'o'
Print the outline (table of contents).

Use mutool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 2
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 3
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 4
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 5
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 6
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • More »

Linux commands

Ad