Pixel Data Formats AW00097603000
130 Basler aviator GigE
You can set the Pixel Format parameter value from within your application software by using the
Basler pylon API. The following code snippet illustrates using the API to set the parameter value:
Camera.PixelFormat.SetValue( PixelFormat_Mono8 );
Camera.PixelFormat.SetValue( PixelFormat_Mono12Packed );
Camera.PixelFormat.SetValue( PixelFormat_Mono12 );
Camera.PixelFormat.SetValue( PixelFormat_YUV422Packed );
Camera.PixelFormat.SetValue( PixelFormat_YUV422_YUYV_Packed );
Camera.PixelFormat.SetValue( PixelFormat_BayerGB8 );
Camera.PixelFormat.SetValue( PixelFormat_BayerGB12 );
Camera.PixelFormat.SetValue( PixelFormat_BayerGB12_Packed );
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3 on page 21.