Open northwarks opened 5 years ago
it looks like you are createing a FrameCanvas every time you call DisplayUpdate ? This will allocate a new frame every time so you will run out of memory.
You should only create a frame canvas once, then swap on vsync.
As with the size_t
error: can you figure out where that message is coming from ? It looks like somewhere from the inside of the generated Python-wrapper.
Hi Guys -I'm having issues with SetImage(), I can display text with no issues at all, as soon as I try to add an image I get the following error:
I'm calling DisplayUpdate() from a thread every second, no other thread or function is writing to the matrix. I'm a little unsure if I'm actually understanding the correct way of implementing images but I've tried for hours and it always boils down to the
OverflowError: can't convert negative value to size_t
error despite PIL reporting the image as 50x50 RGB.Any pointers or skeleton code would be really appreciated :)