Save frame buffer to image(png)