pdf split
This block is part of the files group and was last modified in core v15.0.3.
pdf split v15.0.3 Splits a PDF into parts of a few pages each, for example to read a long document a few pages at a time. When the whole PDF fits in one part, the original file is returned as the only part without copying it. Pure Go: needs no poppler or mupdf.
- flow
- file
filerequiredThe PDF to split (the first file of the pin).
- pages per part
numberHow many pages each part owns. Default 5. One run cuts at most 100 parts. • Min: 1
- overlap
numberExtra pages before each part's own pages, included as context only (the part does not own them). Must be smaller than pages per part. Default 0. • Min: 0
- from
numberCut one range only: first page (1-based). Overrides pages per part. Defaults to 1 when only to is set. • Min: 1
- to
numberCut one range only: last page (inclusive). Defaults to the last page when only from is set. • Min: 1
- flow
- success
condition - error
valueMISSING_FILE, INVALID_TYPE, INVALID_FILE, FILEPATH_CONTAINS_INVALID_CHARACTERS, INVALID_RANGE, TOO_MANY_PARTS (more than 100 parts in one run: raise pages per part), PDF_UNREADABLE: {reason} (encrypted or damaged), COULD_NOT_CREATE_TEMP_FOLDER, COULD_NOT_WRITE_FILE or PDF_TOOLS_NOT_AVAILABLE.
- page count
numberTotal number of pages of the source PDF.
- files
fileThe parts as files, in page order.
- parts
arrayOne object per part: {index, from, to, own_from, own_to, page_count, file}. from..to is what the file holds (own pages plus overlap); own_from..own_to is what the part is responsible for.
Version history
Introduced in v15.0.3.
Back to
files Return to the main group to view all sub-groups Back to file modification Return to the group to view all blocks within this group