I\'d like to save a rgb data as a jpeg file:
let testRGB = &prevWindowImgButton.image().unwrap().to_rgb_data(); /