PNG mis-aligned (except 100% zoom)

Just imported a PNG into my Vassal module and at zoom levels except 100% it is mis-aligned (see below). It was exported from Inkscape at 96 DPI.

I think that might be unavoidable in VASSAL 3, as the background map image and the piece images are scaled separately, so you can run into rounding errors in the scaling and/or positioning. Do you really need the hex outlines as part of your image? If you really need the hex outlines, you could try making them a separate image, saved as SVG, and add that as a separate Layer trait to your piece; it’s possible SVGs don’t suffer from the same alignment issues as PNG & JPG, but I’m not certain.

1 Like

Ha! Totally forgot Vassal supports SVGs natively :slight_smile: As it in fact is a full vector SVG image, I imported that into Vassal and voila! Works, thx!

1 Like