I'm trying to find an efficient way to convert from a tuple (where every 4 entries correspond to R, G, B, alpha of a pixel) to a NumPy array (for use in OpenCV).I'm trying to find an efficient way to convert
I'm trying to find an efficient way to convert from a tuple (where every 4 entries correspond to R, G, B, alpha of a pixel) to a NumPy array (for use in OpenCV).I'm trying to find an efficient way to convert