Closed alex-ong closed 4 years ago
Investigated; it uses BGRX too. @blakegong has already modified the API to request RGB vs leaving in BGR for speed.
The slowest part is converting from BGRX to RGBX. Numpy is the fastest (direct copy), PIL is one order of magnitude slower (memcopies twice)
For speed, we will keep all data as BGRX unless necessary for displaying in the calibration tool
They seem to use RGBX, we use BGRX. I suspect converting into PIL will be much faster in RGBX mode.