Dear @babaf
You have to tell the driver that the image format has changed.
See this post with some more information:
https://forum.commonvisionblox.com/t/pixel-format-doesnt-match-output/438/2?u=sebastian
The ImageRect Class with its update() function is the equivalent for CVBpy.