rpi-rgb-led-matrix
rpi-rgb-led-matrix copied to clipboard
Re-use CreateFrameCanvas() in samples/gif-viewer.py
trafficstars
I used the original sample to display a list of GIF files.
After a few minutes I got this warning:
CreateFrameCanvas() called 500 times. Usually you only want to call it once (or at most a few times) for double-buffering...
I modified the sample and re-use the canvas instead.