Game Piece Layouts rendered as PNG

I defined a “Game Piece Layout”, containing one filled circle and a character.
Those are then rendered as png for none zoomed map size.
All other images in my module is svg, and scales good when zoomed,
but the pieces got visible pixels in the circle border, when zoomed.

  1. It looks like it should be easy to generate a svg image from the simple parts used in the layout,
    so why render them as png?

  2. If you want to render them as png, why not rerender them when you zoom?

Thus spake puggan:

I defined a “Game Piece Layout”, containing one filled circle and a
character.
Those are then rendered as png for none zoomed map size.
All other images in my module is svg, and scales good when zoomed,
but the pieces got visible pixels in the circle border, when zoomed.

  1. It looks like it should be easy to generate a svg image from the
    simple parts used in the layout,
    so why render them as png?

  2. If you want to render them as png, why not rerender them when you
    zoom?

The answer to both of these is that the Game Piece Layout code predates
SVG support.


J.