[−][src]Enum cv::imgcodecs::ImwriteFlags
Imwrite flags
Variants
ImwriteJpegQualityFor JPEG, it can be a quality from 0 to 100 (the higher is the better). Default value is 95.
ImwriteJpegProgressiveEnable JPEG features, 0 or 1, default is False.
ImwriteJpegOptimizeEnable JPEG features, 0 or 1, default is False.
ImwriteJpegRstIntervalJPEG restart interval, 0 - 65535, default is 0 - no restart.
ImwriteJpegLumaQualitySeparate luma quality level, 0 - 100, default is 0 - don't use.
ImwriteJpegChromaQualitySeparate chroma quality level, 0 - 100, default is 0 - don't use.
ImwritePngCompressionFor PNG, it can be the compression level from 0 to 9. A higher value means a smaller size and longer compression time. Default value is 3. Also strategy is changed to IMWRITE_PNG_STRATEGY_DEFAULT (Z_DEFAULT_STRATEGY).
ImwritePngStrategyOne of cv::ImwritePNGFlags, default is IMWRITE_PNG_STRATEGY_DEFAULT.
ImwritePngBilevelBinary level PNG, 0 or 1, default is 0.
ImwritePxmBinaryFor PPM, PGM, or PBM, it can be a binary format flag, 0 or 1. Default value is 1.
ImwriteWebpQualityFor WEBP, it can be a quality from 1 to 100 (the higher is the better). By default (without any parameter) and for quality above 100 the lossless compression is used.
ImwritePamTupletypeFor PAM, sets the TUPLETYPE field to the corresponding string value that is defined for the format
Trait Implementations
impl PartialEq<ImwriteFlags> for ImwriteFlags[src]
fn eq(&self, other: &ImwriteFlags) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Clone for ImwriteFlags[src]
fn clone(&self) -> ImwriteFlags[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for ImwriteFlags[src]
impl Debug for ImwriteFlags[src]
Auto Trait Implementations
impl Send for ImwriteFlags
impl Sync for ImwriteFlags
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,