dexp.processing.color.cairo_utils Functions get_array_for_cairo_surface(surface) Returns an array given a ImageSurface from PyCairo.