Prepress PDF Toolkit

PDF rustybara logo
manipulation
for print.

A Rust library and toolset for production-grade prepress workflows. Page manipulation, rasterization, and ICC color management — all free, open source, forever.

v0.1.8 · LGPLv3 · Rust 1.85 / edition 2024

Cargo.toml
[dependencies]
rustybara = "v0.1.8"
# with ICC color management
rustybara-icc = "0.1.2"
22+ ICC Profiles
Free Forever
6 Core Modules
0 Subscriptions

Every tool a prepress
workflow demands.

rustybara v0.1.8
LGPLv3 Open Source
PDF Manipulation
Trim print marks, resize page boxes, and remap CMYK values with a fluent pipeline API. Built on lopdf for production-grade PDF object graph access.
Rasterization
High-throughput PDF-to-image conversion. Render to JPEG, PNG, WebP, or TIFF at any DPI via the pdfium-render backend.
ICC Color Management
22 bundled ICC profiles with lcms2-backed transforms. Convert between CMYK and RGB color spaces via rustybara-icc — the same engine used in professional print RIPs.
Geometry & Trim
MediaBox, TrimBox, BleedBox, and ArtBox manipulation with prepress vocabulary. Precise crop, resize, and bleed operations for print production workflows.
CMYK Color Remap
Substitute specific CMYK values in PDF content streams with tolerance-based matching. Replace rich black, convert spot approximations, or normalize color usage across a batch.
TUI + GUI Frontends
rbara ships a full Ratatui TUI for terminal workflows. rbara-gui provides a native desktop interface with split/stitch pages, command bar, and chord shortcuts. Both are free, open source, forever.
rustybara-icc

Color management
built in.

Supports 22 well-known Adobe ICC profiles out of the box via the bundled-profiles feature, with full support for importing your own. CMYK-to-RGB and RGB-to-CMYK transforms backed by lcms2 — the same engine used in professional print RIPs.

CoatedFOGRA27
CMYK
CoatedFOGRA39
CMYK
CoatedGRACoL2006
CMYK
JapanColor2001Coated
CMYK
JapanColor2001Uncoated
CMYK
JapanColor2002Newspaper
CMYK
JapanColor2003WebCoated
CMYK
JapanWebCoated
CMYK
Adobe-licensed profiles, compile-time embedded
All 22 Adobe reference profiles are distributed under Adobe's confirmed license terms. Download them once, compile them in with the bundled-profiles feature, or import any custom .icc profile at runtime.
Transform directly inside PDF streams
Don't just tag colorspaces — actually convert. rustybara-icc operates on the content stream level, rewriting image data and colorspace resources in-place.
Prepress-standard intents
Perceptual, relative colorimetric, saturation, and absolute colorimetric rendering intents. Configurable black point compensation. Full ICC v2 and v4 support.
Designed for production volume
lcms2's transform objects are reusable across threads — create one transform instance and share it across a batch for efficient color conversion at scale.
For Prepress & Design

Built for the
print floor.

rbara-gui gives prepress operators a desktop interface for common PDF tasks — no command line required. Trim pages, convert colorspaces, batch rasterize proofs.

  • Native desktop app — Windows, macOS, Linux
  • Drag-and-drop PDF page management
  • One-click ICC profile conversion
  • Batch export at press-ready DPI
  • No subscription, no cloud, no account
Download rbara-gui →
For Rust Developers

A crate that
ships to prod.

Add rustybara to your Cargo workspace and get a complete PDF manipulation pipeline. Typed, ergonomic, and designed for the kinds of edge cases that only show up in real print data.

  • Modular — use only what you need
  • Multi-page rasterization pipeline
  • pdfium-render under the hood
  • Typed error model, no panics in hot paths
  • LGPLv3 — safe for commercial use
Read the API docs →