Enum cv::imgcodecs::ImageWritePngStrategy[][src]

#[repr(C)]pub enum ImageWritePngStrategy {
    Default,
    Filtered,
    HuffmanOnly,
    RLE,
    Fixed,
}

Imwrite PNG flag. See documentation for detauls

Variants

Default

Use this value for normal data.

Filtered

Use this value for data produced by a filter (or predictor).Filtered data consists mostly of small values with a somewhat random distribution. In this case, the compression algorithm is tuned to compress them better.

HuffmanOnly

Use this value to force Huffman encoding only (no string match).

RLE

Use this value to limit match distances to one (run-length encoding).

Fixed

Using this value prevents the use of dynamic Huffman codes, allowing for a simpler decoder for special applications.

Trait Implementations

impl Clone for ImageWritePngStrategy[src]

impl Copy for ImageWritePngStrategy[src]

impl Debug for ImageWritePngStrategy[src]

impl Eq for ImageWritePngStrategy[src]

impl Hash for ImageWritePngStrategy[src]

impl PartialEq<ImageWritePngStrategy> for ImageWritePngStrategy[src]

impl StructuralEq for ImageWritePngStrategy[src]

impl StructuralPartialEq for ImageWritePngStrategy[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageWritePngStrategy

impl Send for ImageWritePngStrategy

impl Sync for ImageWritePngStrategy

impl Unpin for ImageWritePngStrategy

impl UnwindSafe for ImageWritePngStrategy

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.