pub fn encode24<PixelType: Pod>( image: &[PixelType], w: usize, h: usize) -> Result<Vec<u8>, Error>
Same as encode_memory, but always encodes from 24-bit RGB raw image
encode_memory