Document
Format and compression
Format & Compression
Control document formats and quality settings with our format and compression transformations. These transformations allow you to convert between document types and optimize file sizes while maintaining appropriate quality levels.
Format Conversion
Convert documents between supported formats using the format parameter.
Format Parameter
- Parameter:
f_{format}
- Values:
pdf
,docx
,xlsx
,pptx
- Example:
tr-f_pdf
Format-Specific Features
Format | Features | Best For |
---|---|---|
- Supports all transformations - Best compression options - Universal compatibility | - Document sharing - Archival - Print-ready files | |
DOCX | - Maintains editability - Basic compression | - Editable documents - Word processing |
XLSX | - Preserves formulas - Basic compression | - Spreadsheet data - Calculations |
PPTX | - Maintains animations - Basic compression | - Presentations - Slideshows |
Quality & Compression
Optimize document file size while maintaining appropriate quality levels.
Quality Settings
- Parameter:
q_{value}
- Values:
auto:high
: Minimal compression, best qualityauto:standard
: Balanced compression (recommended)auto:low
: Maximum compression
- Example:
tr-q_auto:standard
Compression Mode
- Parameter:
c_{mode}
- Values:
high
: Maximum compressionmedium
: Balanced compressionlow
: Minimal compression
- Example:
tr-c_high
Note: Use either quality (q_
) or compression (c_
) parameters, but not both together.
Page Selection
Control which pages are included in the output document.
Page Range
- Parameter:
p_{range}
- Values:
- Single page:
p_1
- Page range:
p_1-3
- Multiple ranges:
p_1-3,5-7
- Single page:
- Example:
tr-p_1-3