Trait mozjpeg::CompInfoExt [] [src]

pub trait CompInfoExt {
    fn row_stride(&self) -> usize;
fn col_stride(&self) -> usize;
fn sampling(&self) -> (u8, u8);
fn qtable(&self) -> Option<QTable>; }

Required Methods

Number of pixels per row, including padding to MCU

Total height, including padding to MCU

h,v samplinig (1..4). Number of pixels per sample (may be opposite of what you expect!)

Implementors