EnglishFrenchSpanish

OnWorks favicon

pdftosrc - Online in the Cloud

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

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


pdftosrc - extract source file or stream from PDF file

SYNOPSIS


pdftosrc PDF-file [stream-object-number]

DESCRIPTION


If only PDF-file is given as argument, pdftosrc extracts the embedded source file from the
first found stream object with /Type /SourceFile within the PDF-file and writes it to a
file with the name /SourceName as defined in that PDF stream object (see application
example below).

If both PDF-file and stream-object-number are given as arguments, and stream-object-number
is positive, pdftosrc extracts and uncompresses the PDF stream of the object given by its
stream-object-number from the PDF-file and writes it to a file named PDF-file.stream-
object-number with the ending .pdf or .PDF stripped from the original PDF-file name.

A special case is related to XRef object streams that are part of the PDF standard from
PDF-1.5 onward: If stream-object-number equals -1, then pdftosrc decompresses the XRef
stream from the PDF file and writes it in human-readable PDF cross-reference table format
to a file named PDF-file.xref (these XRef streams can not be extracted just by giving
their object number).

In any case an existing file with the output file name will be overwritten.

OPTIONS


None.

Use pdftosrc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad