I have a bunch of arrays of frames with the shape of (3, 225, 400) that were obtained from the screen buffer. I have trouble while saving them as RGB png images because of t