Struct jpng::Jpng[][src]

pub struct Jpng {
    pub footer: JpngFooter,
    // some fields omitted
}

Fields

Methods

impl Jpng
[src]

Saves the JPNG image as a PNG with the combined image and mask.

The name passed to this method must be the basename without an extension. This is because .png is automatically appended to it in order to ensure it encodes the right format.

Saves the JPEG image inside the JPNG.

The basename given will have .jpg appended to the end, and it will overwrite the destination if it already exists.

Saves the PNG alpha mask inside the JPNG.

The basename given will have .png appended to the end, and it will overwrite the destination if it already exists.

Trait Implementations

impl Clone for Jpng
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Jpng

impl Sync for Jpng