Enum sciter::graphics::SaveImageEncoding
[−]
[src]
pub enum SaveImageEncoding {
Raw,
Png,
Jpeg(u8),
Webp(u8),
}Supported image encodings for Image.save().
Variants
RawRaw bitmap in a [a,b,g,r, a,b,g,r, ...] form.
PngPortable Network Graphics format.
Jpeg(u8)JPEG with the specified quality level (in range of 10..100).
Webp(u8)WebP with the specified quality level (in range of 0..100, where 0 means a lossless compression).
Trait Implementations
impl Clone for SaveImageEncoding[src]
fn clone(&self) -> SaveImageEncoding[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for SaveImageEncoding[src]
impl Debug for SaveImageEncoding[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for SaveImageEncoding[src]
fn eq(&self, __arg_0: &SaveImageEncoding) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SaveImageEncoding) -> bool[src]
This method tests for !=.