pub enum LossyModular {
Off,
Auto,
Force,
}Expand description
Which arm the lossy encoder uses. Besides VarDCT, jixel carries a lossy modular arm (quantized Squeeze pyramid): multi-resolution residual coding that outperforms block DCT on smooth/gradient-heavy content, most clearly from medium quality down.
Variants§
Off
VarDCT only (the default).
Auto
Encode BOTH arms per frame — the modular arm at a distance calibrated
to match the VarDCT arm’s quality — and keep the smaller frame.
Speed::Slow and above (falls back to VarDCT otherwise).
Force
Always use the modular arm when the frame supports it (XYB: RGB without alpha; other coding transforms: any integer image, gray, CMYK and alpha included; all above tiny sizes); other frames fall back to VarDCT.
Trait Implementations§
Source§impl Clone for LossyModular
impl Clone for LossyModular
impl Copy for LossyModular
Source§impl Debug for LossyModular
impl Debug for LossyModular
Source§impl Default for LossyModular
impl Default for LossyModular
impl Eq for LossyModular
Source§impl PartialEq for LossyModular
impl PartialEq for LossyModular
impl StructuralPartialEq for LossyModular
Auto Trait Implementations§
impl Freeze for LossyModular
impl RefUnwindSafe for LossyModular
impl Send for LossyModular
impl Sync for LossyModular
impl Unpin for LossyModular
impl UnsafeUnpin for LossyModular
impl UnwindSafe for LossyModular
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