Reducto allows you to specify which pages of a document to process using the page_range parameter in the advanced options. You can either specify a single range of pages or multiple ranges for more complex scenarios.
Single range configuration
For processing a continuous range of pages, specify a single object with start and end page numbers:
{
"advanced_options": {
"page_range": {
"start": 1,
"end": 10
}
}
}This configuration will process pages 1 through 10 of your document.
Multiple ranges configuration
For processing multiple distinct ranges of pages, provide a list of range objects:
{
"advanced_options": {
"page_range": [
{
"start": 1,
"end": 5
},
{
"start": 10,
"end": 15
}
]
}
}This configuration will process:
- Pages 1 through 5
- Pages 10 through 15
Notes
- Page numbers are 1-indexed (first page is page 1)
- If no page range is specified, the entire document will be processed
- The
endpage must be greater than or equal to thestartpage - For multiple ranges, they do not need to be in order
- Overlapping ranges are allowed and will be processed only once