Packages

High-performance SVG to image conversion library for Elixir. Converts SVG to PNG, JPG, GIF, or WebP with support for resolution control, transparent backgrounds, and dynamic color preprocessing. Powered by Rust.

Current section

Files

Jump to
svgager native svgager_native Cargo.toml
Raw

native/svgager_native/Cargo.toml

[package]
name = "svgager_native"
version = "0.3.0"
authors = []
edition = "2021"
[lib]
name = "svgager_native"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
rustler = "0.37.2"
resvg = "0.47.0"
usvg = "0.47.0"
tiny-skia = "0.12.0"
image = { version = "0.25.5", features = ["png", "jpeg", "gif", "webp"] }
[features]
default = ["nif_version_2_15"]
nif_version_2_15 = ["rustler/nif_version_2_15"]
nif_version_2_16 = ["rustler/nif_version_2_16"]
nif_version_2_17 = ["rustler/nif_version_2_17"]