[package]
name = "pdf2-render"
version.workspace = true
edition = "2024"
rust-version = "1.100"
description = "Rasteriser for the pdf2 crate: paths, clips, images, text, fonts, shadings and patterns, with a report of what it cannot draw."
license = "Unlicense OR MIT"
repository = "https://github.com/pdf2-rs/pdf2"
readme = "README.md"
keywords = ["pdf", "pdf2", "render", "raster"]
categories = ["graphics"]
[features]
default = ["dct"]
dct = ["dep:zune-jpeg"]
jpx = ["dep:hayro-jpeg2000"]
jbig2 = ["dep:hayro-jbig2"]
[dependencies]
hayro-jbig2 = { version = "0.4.0", optional = true, default-features = false, features = [
"std",
] }
hayro-jpeg2000 = { version = "0.5.0", optional = true, default-features = false, features = [
"std",
] }
miniz_oxide = "0.9"
pdf2 = { path = "../..", version = "1.6.0" }
ttf-parser = "0.25.1"
zune-jpeg = { version = "0.5.15", optional = true }
[lints]
workspace = true