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>; fn width_in_blocks(&self) -> usize; fn height_in_blocks(&self) -> usize; }
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]
fn width_in_blocks(&self) -> usize
[src]
fn height_in_blocks(&self) -> usize
[src]
Implementors
impl CompInfoExt for CompInfo
[src]
impl CompInfoExt for CompInfo
[src]