#[non_exhaustive]pub enum SkipReason {
UnsupportedFilter(String),
Transparency,
DecodeArray,
CmykJpeg,
ColorSpace(String),
BitDepth(u32),
ImageMask,
Undecodable,
}Expand description
Why an image was skipped rather than exported.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnsupportedFilter(String)
A compression this exporter does not decode (JPEG 2000, JBIG2, CCITT fax, a TIFF predictor, or an unknown filter). Carries the filter name.
Transparency
The image has an /SMask or /Mask: its transparency would be lost.
DecodeArray
The image has a non-default /Decode array (for example an inverted
image), which a plain export would not apply.
CmykJpeg
A four-component (CMYK) JPEG. Browsers typically show Adobe CMYK JPEGs with inverted colours.
ColorSpace(String)
A colour space this exporter does not reproduce: Lab, Separation, DeviceN, CMYK, an ICC profile other than sRGB. Carries the name.
BitDepth(u32)
A bit depth this exporter does not reproduce for this colour space.
ImageMask
A stencil mask (/ImageMask true): it has no colours of its own.
Undecodable
The stream could not be decoded, or holds fewer samples than its declared geometry needs.
Implementations§
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more