Enum jpeg_encoder::EncodingError [−][src]
pub enum EncodingError { InvalidAppSegment(u8), AppSegmentTooLarge(usize), IccTooLarge(usize), BadImageData { length: usize, required: usize, }, ZeroImageDimensions { width: u16, height: u16, }, IoError(Error), }
Expand description
Variants
InvalidAppSegment(u8)
An invalid app segment number has been used
AppSegmentTooLarge(usize)
App segment exceeds maximum allowed data length
IccTooLarge(usize)
Color profile exceeds maximum allowed data length
Image data is too short
Width or height is zero
IoError(Error)
An io error occurred during writing
Trait Implementations
Performs the conversion.