I’m rendering a dynamically changing numpy bitmap array and trying to improve my framerate. Currently I’m using openCV: This takes ~20ms, which is not bad. But can I do better? Setting this has no noticeable effect. But does openCV offer a better technique than imshow to make use of a GL drawing surface? And is there any viable alternative to
Tag: rendering
Convert SVG to PNG in Python
How do I convert an svg to png, in Python? I am storing the svg in an instance of StringIO. Should I use the pyCairo library? How do I write that code? Answer The answer is “pyrsvg” – a Python binding for librsvg. There is an Ubuntu python-rsvg package providing it. Searching Google for its name is poor because its