Skip to content
Andrea Vacondio edited this page Jan 20, 2020 · 9 revisions

List of tasks available in the open source version of Sejda SDK (sejda-sdk-api)

Split by pages

Splits a PDF file at a selected set of page numbers, retaining or discarding the PDF outline (bookmarks).

Simple split

Splits a PDF file at a predefined set of page numbers (all, odd pages, even pages), retaining or discarding the PDF outline (bookmarks).

Split by size

Splits a PDF file in files of the selected size (roughly), retaining or discarding the PDF outline (bookmarks).

Split by every X pages

Splits a PDF file into documents of X pages, retaining or discarding the PDF outline (bookmarks).

Split by bookmarks (outline, table of contents) level

Splits a PDF file at pages which are destinations of outline elements in the document outline (bookmarks) at the specified level (optionally matching a provided regular expression).

Merge

Merge PDF files, creates a single output PDF document composed by the selected pages of each input document taken in the given order. It allows pages selection to merge only selected pages, acro forms merge policy, outline merge policy and table of contents generation.

Alternate mix

Given a collection of PDF files, it creates a single output PDF document taking pages alternatively from inputs. Pages can be taken in straight or reverse order and using a configurable step (number of pages before the process switches from a file to the other).

Extract pages from PDF

Extract pages from a PDF file creating a new one containing only the selected pages. Page selection can be done using a predefined set of pages (odd, even) or as sets of ranges (from page x to y).

Rotate pages

Apply page rotation to a collection of PDF files. Rotation can be applied to a specified set of pages or to a predefined set (all, even pages, odd pages)

Set PDF viewer preferences

Applies selected viewer preferences to a collection of PDF files.

Set page labels

Given a collection of PDF files, applies the selected page labels as defined in the PDF 32000-1:2008, chapter 12.4.2.

Set metadata

Apply new metadata (title, author, subject, keywords) to an input PDF file.

Set pages transition

Given a PDF file, applies the selected pages transitions (to use the document as a slide show presentation) as defined in the PDF 32000-1:2008, chapter 12.4.4.

Unpack attachments

Extracts all the attachments of a given collection of PDF files.

PDF to TIFF image (single)

Converts a PDF file to a single TIFF image (TIFF format supports multiple images written to a single file).

PDF to TIFF image (multiple)

Converts a PDF file to multiple TIFF images (one image per page).

PDF to JPG

Converts a PDF file to multiple JPG images (one image per page).

Extract by outline level

Extract chapters to separate files based on the bookmarks in the outline at a given level (optionally filtered by a given regex).

List of additional tasks available in the commercial version of Sejda SDK (sejda-sdk-api and sejda-console-pro)

Split down the middle

Splits a PDF pages in two, either vertically or horizontally, reordering pages if necessary.

Crop

Given a PDF file and a set of rectangular boxes, creates a single output PDF file where pages are cropped according to the input rectangular boxes. Input boxes are set as mediabox and cropbox on the resulting document pages.

Split by text

Splits a PDF file by text content, extracting separate files when specific text changes from page to page.

Extract text

Given a collection of PDF files, it creates a collection of text files containing text extracted from them.

Extract text by pages

Extracts text from a PDF file creating a text file for each page.

PDF compress

Compress PDF by removing unused or unnecessary objects, optimizing images resources by reducing their dpi, size and/or quality.

Nup

Composes multiple PDF pages (4, 8, 16, 32) per sheet per paper. A5 plan as 4-up on A3 or A4 2-up on A3.

Repair

Repairs corrupt PDF files fixing their internal structure where possible.

Convert to grayscale

Converts PDF files to grayscale.

Encrypt

Given a collection of PDF files, applies the selected permission using the selected encryption algorithm (RC4 128, AES 128 or AES 256) and the provided owner and user password.

Decrypt

Given a collection of encrypted PDF files and their owner password, creates a decrypted version of each of them.

Watermark

Stamps a watermark image on multiple PDF documents.

Scale

Scale pages or pages content of multiple PDF documents.

Set header or footer

Adds a header or a footer to a collection of PDF files.

Combine and reorder

Combines multiple PDF files reordering the pages if required.

Add back pages

Takes one or more pages from a PDF file and adds them to one or more PDF files after each ‘n’ pages.

Attachments collection (Portfolio)

Creates a portfolio/collection of attachments as defined in the PDF 32000-1:2008, chapter 12.3.5.

Images to PDF

Convert image files into PDF