[pdf] Compress: E-mail (≤ 5 MB), Web and Print presets; images downsampled and re-encoded, text untouched
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
//! Every function takes the document as bytes plus an optional password and returns new bytes: nothing here touches
|
||||
//! the file system. Outside files are hostile; call these only inside `pictor-worker`.
|
||||
|
||||
mod compress;
|
||||
mod edit;
|
||||
mod engine;
|
||||
mod error;
|
||||
@@ -17,6 +18,7 @@ mod reader;
|
||||
mod redact;
|
||||
mod security;
|
||||
|
||||
pub use compress::{CompressPreset, Compressed, EMAIL_TARGET, compress};
|
||||
pub use edit::*;
|
||||
pub use engine::Engine;
|
||||
pub use error::PdfError;
|
||||
|
||||
Reference in New Issue
Block a user