@bigollie93
For saving png you can try my newly written example.
I took the data out and saved it with opencv and it did save it. And saving directly with picamera2 did not work for me.