[][src]Trait mozjpeg::CompInfoExt

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[src]

Number of pixels per row, including padding to MCU

fn col_stride(&self) -> usize[src]

Total height, including padding to MCU

fn sampling(&self) -> (u8, u8)[src]

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

fn qtable(&self) -> Option<QTable>[src]

Loading content...

Implementors

impl CompInfoExt for CompInfo[src]

Loading content...