GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Game Icons

completed by: Liam Edwards-Playne

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

PySoy game links are received both from the web and xmpp game catelogs as .sgk files, which are .svg (Scaled Vector Graphics) with game metadata added. Because SVG is XML, the game metadata is ignored by standard SVG viewers allowing the files to be used verbatim as game icons.

Some platforms, however, do not support using SVG for icons and need them converted to PNG format. As we are already linking librsvg and cairo, this should be a simple matter.

Write a function using Cairo to convert SVG icons to the formats Android needs and push it to the Mercurial repository. This task should take under 100 lines of code.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.