[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Modifying SVG image



Hi,

The following command works fine in Pygame 2:
pygame.image.load("test.svg")
It loads an SVG file and creates a Surface object.

I need to change colors in that SVG image/file. As this is a text file this is a pretty simple task.
The only way I see is to load an SVG file, change colors, save file and then load using pygame.image.load. Is it possible to accomplish that task without creating/saving a new SVG file?

Thanks in advance!