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
fn row_stride(&self) -> usize
Number of pixels per row, including padding to MCU
fn col_stride(&self) -> usize
Total height, including padding to MCU
fn sampling(&self) -> (u8, u8)
h,v samplinig (1..4). Number of pixels per sample (may be opposite of what you expect!)
fn qtable(&self) -> Option<QTable>
Implementors
impl CompInfoExt for CompInfo