Numpy Integration

In this lesson, we'll learn r to integrate numpy with Pycairo.

Creating a numpy array from a surface

We can create a numpy array from an ImageSurface like this:

Get hands-on with 1200+ tech skills courses.