PDF Compress
Real compress via qpdf/Ghostscript host binaries; pdf-lib fallback
qpdf|ghostscript|pdf-libv0.1.0qpdf + Ghostscript pdfwrite + pdf-lib fallback
Workspace
Local or server · same path as API
doc/pdf-compressFile is sent to the Forge server for compression, then discarded after the response. Prefer structural mode when you must keep lossless streams.
Quality
Engine
PDF Compress · qpdf / Ghostscript on host · pdf-lib fallback · honest engine label
API
forge.doc.pdf_compressSame contract as the page. Use an authenticated key in production.
curl -X POST 'https://forge.nebutra.com/v1/tools/doc/pdf-compress/invoke' \
-H 'Authorization: Bearer sk-sailor-…' \
-H 'Content-Type: application/json' \
-d '{
"example": true
}'
