Struct image::jpeg::Component
[−]
[src]
pub struct Component { pub id: u8, pub h: u8, pub v: u8, pub tq: u8, pub dc_table: u8, pub ac_table: u8, pub dc_pred: i32, }
A representation of a JPEG component
Fields
id | The Component's identifier |
h | Horizontal sampling factor |
v | Vertical sampling factor |
tq | The quantization table selector |
dc_table | Index to the Huffman DC Table |
ac_table | Index to the AC Huffman Table |
dc_pred | The dc prediction of the component |