Loading SVG files with python and pygame -
possible duplicate:
svg rendering in pygame application
can load .svg files created inkscape python via pygame? , if so, how can it?
no cannot, pygame supports following image formats:
- jpg
- png
- gif (non animated)
- bmp
- pcx
- tga (uncompressed)
- tif
- lbm (and pbm)
- pbm (and pgm, ppm)
- xpm
you can rasterize svg using cairo rsvg library. there documentation on pygame's web.
Comments
Post a Comment