Skip to content

How To: Use Image Format Conversion in the pylon API#

In case a Basler camera doesn't support the Reverse X and Reverse Y camera feature within the cameras FPGA, Image Format Conversion in the pylon API can help you.

Image Format Conversion in pylon

The OutputOrientation parameter of the API will, e.g., change the vertical orientation of the image.

However, it's not enough to execute the OutputOrientation parameter in your code. You will also have to reattach the user buffer.

This sample code demonstrates the required steps.

Back to Knowledge Articles