(Version X.Y.Z – released 2026‑04‑10) 1. Overview sxyprn (pronounced “sex‑y‑print” ) is a lightweight, cross‑platform utility for high‑performance, lossless printing of raster and vector graphics in scientific and engineering workflows. The newest release (vX.Y.Z) adds a modern plugin architecture, GPU‑accelerated rendering, and full support for the latest PDF 2.0 and SVG 2 specifications.

gcc -shared -fPIC -o watermark.sxp watermark.c $(sxyprn --cflags --libs) | Check | Action | |-------|--------| | Signature | Sign with your private GPG key; upload the public key to plugins.sxyprn.org . | | Sandboxing | Declare sandbox = true in plugin.toml to enforce seccomp restrictions. | | Resource Limits | Use sxyprn-plugin-limit to cap memory/CPU usage. | 7. API Reference (Selected Functions) | Function | Prototype | Description | |----------|-----------|-------------| | sxyprn_load_file | int sxyprn_load_file(const char* path, sxyprn_document** out); | Loads a PDF/SVG/PNG/JPEG into a sxyprn_document . | | sxyprn_render | int sxyprn_render(sxyprn_document* doc, const sxyprn_render_options* opt, sxyprn_image** out); | Rasterizes a page using the GPU engine. | | sxyprn_export | int sxyprn_export(sxyprn_image* img, const char* format, const char* out_path); | Writes the rendered image to PDF, PNG, TIFF, etc. | | sxyprn_set_option | int sxyprn_set_option(sxyprn_context* ctx, const char* key, const char* value); | Runtime configuration (e.g., "colorProfile", "AdobeRGB1998.icc" ). |

"input": "data:image/svg+xml;base64,PHN2Zy4uLg==", "outputFormat": "pdf", "options": "dpi": 300, "colorProfile": "ISOcoated_v2_eci.icc"

Key goals of the project:

All contributions must be signed‑off (DCO) and pass the automated license‑check. sxyprn is released under the Apache License 2.0 . Plugins may be distributed under any compatible open‑source license; commercial plugins must include a signed exception allowing redistribution of the core binary. 11. Release Notes (vX.Y.Z) | Category | Change | |----------|--------| | Added | Vulkan backend, WASM build, PDF 2.0 support, Plugin SDK v2. | | Changed | CLI output now defaults to JSON for easier scripting. | | Fixed | Memory

All packages are signed with GPG key 0x3A7F9E2C . Verify with:

<script type="module"> import init from "./sxyprn.wasm"; await init(); // Use the exported print API here </script> 5.1 Basic CLI Print sxyprn print input.svg -o output.pdf --dpi 600 --color-profile sRGB.icc 5.2 Batch Processing sxyprn batch --input-dir ./drawings \ --output-dir ./pdfs \ --format pdf \ --threads 8 \ --log ./batch.log 5.3 Using a Plugin # Install the barcode plugin (signed) sxyprn plugin install https://plugins.sxyprn.org/barcode/v1.2.0/barcode.sxp

Compile with:

Scroll To Top