How to turn off the capture bayer conversion in the code

The GenICam Browser saves this in the GenICam.ini. See this entry on how to change the config:

GetLinearAccess returns incorrect values for the xInc for 16Bit camera images

Programming QuestionsC-style API

acquisition linearaccess pixelformat

https://forum.commonvisionblox.com/t/getlinearaccess-returns-incorrect-values-for-the-xinc-for-16bit-camera-images/68/6?u=parsd

The CVB .Net wrapper simplifies access for the discovery case. Call .SetParameter("PixelFormat", "0") on the entry returned by DeviceFactory.Discover() you want to open.