pdf-rewriter

NAME

pdf-rewriter.raku - Rebuild a PDF using PDF modules.

SYNOPSIS

pdf-rewriter.raku [options] file.pdf [out.pdf]
    pdf-rewriter.raku [options] file.pdf [out.json] # convert to json
    pdf-rewriter.raku [options] file.json [out.pdf] # convert from json

Options

--password    password for an encrypted PDF
   --repair      repair the input PDF
   --rebuild     rebuild object tree (renumber, garbage collect and deduplicate objects)
   --compress    compress streams
   --uncompress  uncompress streams, where possible
   --class=name  load class (PDF::Lite, PDF::Class, PDF::API6)
   --render      render and reformat content (needs PDF::Class or PDF::Lite)
   --decrypt     remove encryption
   --stream      write progressively and early

DESCRIPTION

Rewrites the specified PDF document.

Input and output files may be either PDF or JSON.

SEE ALSO

PDF (Perl 6)

=cut

PDF v0.4.22

Base classes for reading, manipulation and writing of PDF data

Authors

  • David Warring

License

Artistic-2.0

Dependencies

Compress::ZlibHash::intJSON::FastMethod::AlsoOpenSSLPDF::Grammar:ver<0.2.1+>

Test Dependencies

Provides

  • PDF
  • PDF::COS
  • PDF::COS::Array
  • PDF::COS::Bool
  • PDF::COS::ByteString
  • PDF::COS::Coercer
  • PDF::COS::DateString
  • PDF::COS::Dict
  • PDF::COS::Int
  • PDF::COS::Loader
  • PDF::COS::Name
  • PDF::COS::Null
  • PDF::COS::Real
  • PDF::COS::Stream
  • PDF::COS::TextString
  • PDF::COS::Tie
  • PDF::COS::Tie::Array
  • PDF::COS::Tie::Hash
  • PDF::COS::Type::Encrypt
  • PDF::COS::Type::Info
  • PDF::COS::Type::ObjStm
  • PDF::COS::Type::XRef
  • PDF::COS::Util
  • PDF::IO
  • PDF::IO::Blob
  • PDF::IO::Crypt
  • PDF::IO::Crypt::AESV2
  • PDF::IO::Crypt::AST
  • PDF::IO::Crypt::PDF
  • PDF::IO::Crypt::RC4
  • PDF::IO::Filter
  • PDF::IO::Filter::ASCII85
  • PDF::IO::Filter::ASCIIHex
  • PDF::IO::Filter::Flate
  • PDF::IO::Filter::LZW
  • PDF::IO::Filter::Predictors
  • PDF::IO::Filter::RunLength
  • PDF::IO::Handle
  • PDF::IO::IndObj
  • PDF::IO::Reader
  • PDF::IO::Serializer
  • PDF::IO::Str
  • PDF::IO::Util
  • PDF::IO::Writer

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.