Skip to main content

encode_yuva_pixmaps

Function encode_yuva_pixmaps 

pub fn encode_yuva_pixmaps<W>(
    writer: &mut W,
    src: &Handle<SkYUVAPixmaps>,
    src_color_space: Option<&RCHandle<SkColorSpace>>,
    options: &Options,
) -> bool
where W: Write,
Expand description

Encode the src pixels to the dst stream. options may be used to control the encoding behavior.

Returns true on success. Returns false on an invalid or unsupported src.