pub fn insert_frame_in_wanimage( image: Vec<u8>, width: u16, height: u16, wanimage: &mut WanImage, pal_id: u16) -> Result<Option<usize>>