pub enum Filter {
AsciiHexDecode,
Ascii85Decode,
LzwDecode,
FlateDecode,
RunLengthDecode,
CcittFaxDecode,
Jbig2Decode,
DctDecode,
JpxDecode,
Crypt,
}
Expand description
A compression filter for a stream.
Variants§
AsciiHexDecode
Ascii85Decode
LzwDecode
Lempel-Ziv-Welch (LZW) compression.
Note that this filter is forbidden in PDF/A.
FlateDecode
RunLengthDecode
CcittFaxDecode
Jbig2Decode
DctDecode
Decodes JPEG/JFIF files with a SOF0, SOF1, or (PDF 1.3+) SOF2 marker.
See ISO 32000-1:2008, Section 7.4.8 and Adobe Technical Note #5116.
JpxDecode
Decodes JPEG2000 files with a JPX baseline marker.
Note that additional restrictions are imposed by PDF/A and PDF/X.
Crypt
Encrypt the stream.
Note that this filter is restricted in PDF/A.
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)