encode

Function encode 

pub fn encode<W>(pixmap: &Pixmap<'_>, writer: &mut W, options: &Options) -> bool
where W: Write,