EPS libraries for Rust
- cairo-rs is the gtk-rs binding of cairo. With the
psfeature andset_eps(true)it writes EPS cropped to what you draw. MIT.
There is no EPS renderer in Rust; to rasterize or convert EPS, run Ghostscript with std::process::Command (gs -dEPSCrop -sDEVICE=png16m -r300 -sOutputFile=out.png in.eps).
- cairo-rs cairo-rs is the Rust binding of the cairo graphics library. How to enable the ps feature and write an EPS file with shapes and text, a tight bounding box.