Weird blue color on Arducam64 video

Hello everyone,
I am using Arducam 64 mpx (B0399) and everything is just right but the colors.
This is part of my code:

from picamera2 import Picamera2
import libcamera
picam2 = Picamera2()
picam2.configure(picam2.create_preview_configuration(main={"format": 'RGB888', "size": (640, 480)}))
picam2.set_controls({"AfMode": 1 ,"AfTrigger": 0, "AfRange": 2, "AfSpeed": 1})
preview_config = picam2.create_video_configuration()
preview_config["transform"] = libcamera.Transform(hflip=1, vflip=1)
picam2.configure(preview_config)
picam2.start()

If I apply the hflip and vflip transform, the resulting image has a more powerful blue tone, i look like one of the smurfs >:).

If i do not apply it, colors are just fine. Why is this happening?

Thanks

Is there any other way? I dont wanna do it using opencv… Can i just rotate the picture using Picamera2?

@jeandupond

Of course, have it:

For color problem:
Please contact my email ([email protected])

I will reply you within 1-2 working days, if I don’t reply, maybe there is something wrong with the email, please let me know in time.