Struct mozjpeg::decompress::Decompress [] [src]

pub struct Decompress<'src> { /* fields omitted */ }

Get pixels out of a JPEG file

High-level wrapper for jpeg_decompress_struct

This example is not tested
let d = Decompress::new_path("image.jpg");

Methods

impl<'src> Decompress<'src>
[src]

[src]

[src]

[src]

Decode file at path

[src]

Decode an already-opened file

[src]

Important traits for &'a mut [u8]
[src]

Important traits for &'a mut [u8]
[src]

[src]

[src]

Important traits for MarkerIter<'a>
[src]

Markers are available only if you enable them via with_markers()

[src]

width,height

[src]

[src]

[src]

Start decompression with conversion to RGB

[src]

[src]

Start decompression without colorspace conversion

Trait Implementations

impl<'src> Drop for Decompress<'src>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'src> !Send for Decompress<'src>

impl<'src> !Sync for Decompress<'src>