Struct lodepng::ffi::DecoderSettings
[−]
[src]
#[repr(C)]pub struct DecoderSettings { pub zlibsettings: DecompressSettings, pub ignore_crc: c_uint, pub color_convert: c_uint, pub read_text_chunks: c_uint, pub remember_unknown_chunks: c_uint, }
Settings for the decoder. This contains settings for the PNG and the Zlib decoder, but not the Info settings from the Info structs.
Fields
zlibsettings: DecompressSettings
in here is the setting to ignore Adler32 checksums
ignore_crc: c_uint
ignore CRC checksums
color_convert: c_uint
read_text_chunks: c_uint
remember_unknown_chunks: c_uint
Methods
impl DecoderSettings
[src]
fn new() -> DecoderSettings
[src]
Creates decoder settings initialized to defaults