1#![forbid(unsafe_code)]
13
14mod appearance;
15mod backend;
16mod error;
17#[cfg(feature = "export")]
18mod export;
19#[cfg(feature = "hayro")]
20mod hayro;
21mod request;
22mod source;
23#[cfg(feature = "tiff")]
24mod tiff_writer;
25
26pub use appearance::{Annotated, DARK, Kept, PageAppearance, PagePalette, Quad, SEPIA, mostly_changed, recolour_tile};
27pub use backend::{RenderBackend, RenderDocument};
28pub use error::RenderError;
29#[cfg(feature = "export")]
30pub use export::{ExportFormat, ExportOptions, export_pages};
31#[cfg(feature = "hayro")]
32pub use hayro::HayroBackend;
33pub use laminapdf_cos::{ByteSource, SourceError, merge_ranges};
34pub use laminapdf_model::Matrix;
35pub use laminapdf_syntax::{CancelToken, Rotation};
36pub use request::{
37 BYTES_PER_PIXEL, PixelRect, RenderFlags, RenderLimits, RenderOpenOptions, RenderPage, RenderRequest, Rgba8,
38 TilePlan,
39};
40pub use source::read_all;
41#[cfg(feature = "tiff")]
42pub use tiff_writer::TiffWriter;