Struct kagamijxl::Decoder [−][src]
pub struct Decoder {
pub keep_orientation: Option<bool>,
pub need_color_profile: bool,
pub need_optional_preview: bool,
pub no_full_frame: bool,
pub no_full_image: bool,
pub stop_on_frame: bool,
pub allow_partial: bool,
}
Fields
keep_orientation: Option<bool>
need_color_profile: bool
Reads color profile into DecodeProgres::color_profile
when set to true
need_optional_preview: bool
Tries reading preview image into DecodeProgress::preview
when set to true
no_full_frame: bool
Prevents reading frames at all when set to true, which means the length of DecodeProgress::frames becomes 0
no_full_image: bool
Reads frame header without pixels when set to true
stop_on_frame: bool
Specify if you want to stop on the first frame decode
allow_partial: bool
Specify when partial input is expected