Skip to content
Recued
Menu
← Back to packs

Ghostscript Pack

by recued-core v1 app_pack

V3 deterministic PDF rendering and compaction capability pack. By-value connector composition (service_kind=cli, no separate ingredient): one local Ghostscript CLI ingredient exposes readiness, bounded PDF compaction through pdfwrite, and first-page PNG rendering. Fixed-function and reproducible: the executor materializes the source PDF and owns the throwaway output directory, while Ghostscript writes fixed output files that are captured as result.file_ref. Write-tier but approval=never: Ghostscript writes only under an engine-managed output dir, runs with -dSAFER, exposes no arbitrary flags, no PostScript snippets, no password argument, no printer routing, no URL fetch, and never streams PDF bytes through op-step values. Requires the gs binary on PATH (Debian/Ubuntu: apt install ghostscript; macOS: brew install ghostscript). Local and no-egress. Use qpdf for structural PDF rewrites/linearization; use Ghostscript here for raster previews and lossy/loss-aware pdfwrite compaction.

What this pack installs

  • ghostscript Ingredient

Trust & control

What installing this whole pack would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Server only Runs on your server.

What it's allowed to do

Write Local CLI ghostscript external change
Read: ghostscript.version · No approvalWrite: pdf.compress · No approvalWrite: pdf.render_page_png · No approval

Data it touches

SurfacesLocal CLI

About

Tags

pack:ghostscriptghostscriptgspdfpngrendercompressoptimizeclideterministiclocal-servicev3composition