# Game Piece Layouts rendered as PNG

**URL:** <https://forum.vassalengine.org/t/game-piece-layouts-rendered-as-png/7827>\
**Category:** Technical Support & Bugs\
**Created:** [July 14, 2015, 4:52pm UTC](https://forum.vassalengine.org/t/game-piece-layouts-rendered-as-png/7827 "2015-07-14T16:52:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![puggan](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/p/779978/32.png) [@puggan](https://forum.vassalengine.org/u/puggan)\
**Post date:** [July 14, 2015, 4:52pm UTC](https://forum.vassalengine.org/t/game-piece-layouts-rendered-as-png/7827/1 "2015-07-14T16:52:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [July 15, 2015, 11:43am UTC](https://forum.vassalengine.org/t/game-piece-layouts-rendered-as-png/7827/2 "2015-07-15T11:43:44Z")

</div>

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.
