EnglishFrenchSpanish

Ad


OnWorks favicon

rewritepdfp - Online in the Cloud

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

This is the command rewritepdfp 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


rewritepdf - Rebuild a PDF file

SYNOPSIS


rewritepdf [options] infile.pdf [outfile.pdf] [password(s)]\n";

Options:
-c --cleanse seek and destroy unreferenced metadata in the document
-C --clearannots remove all annotations (including forms)
-d --decode uncompress any encoded elements
-f --filter=name compress all elements with this filter (can use more than once)
-X --decrypt remove encryption from the document
-o --order preserve the internal PDF ordering for output
-v --verbose print diagnostic messages
-h --help verbose help message
-V --version print CAM::PDF version

-p --pass opass upass set a new owner and user password
-P --prefs print modify copy add set boolean permissions for the document

The optional password arguments are needed to open password-protected PDF files. Here's
an example of password-protecting and then unprotecting it in sequence:

rewritepdf --pass SecretPass SecretPass orig.pdf passworded.pdf
rewritepdf --decrypt passworded.pdf unprotected.pdf SecretPass

If you want to prevent people from being able to perform the latter step, then tighten
your permissions:

rewritepdf -p Secret Secret -P 1 0 0 0 orig.pdf passworded.pdf

which means that users can print the passworded PDF, but not change it, copy-and-paste
from it, or append to it.

DESCRIPTION


Read and write a PDF document, and possibly modify it along the way.

The "--cleanse" option could possibly break some PDFs which use undocumented or poorly
documented PDF features. Namely, some PDFs implicitly store their "FontDescriptor"
objects just before their Font objects, without explicitly referring to the former.
Cleansing removes the former, causing Acrobat Reader to choke.

We recommend that you avoid the "--decode" and "--filter" options, as we're not sure they
work right any longer.

Use rewritepdfp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 2
    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
  • 3
    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
  • 4
    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)
  • 5
    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
  • 6
    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
  • More »

Linux commands

Ad