This script starts to evolve into nearly the same thing as the fen2.cgi piece renderer on my website, which we never managed to port to CVP. Can it also render the SVG in different sizes? Perhaps I could make the 'Diagram Editor with Scalable Graphics' use that script, to make it independent of my website.
Beware that some of the SVG sets have different images for white and black pieces. These would be needed if you want truly black pieces; filling the white (outline) pieces with black would not work, because the inside details would become invisble. For any other color the outline pieces look better.
This script starts to evolve into nearly the same thing as the fen2.cgi piece renderer on my website, which we never managed to port to CVP. Can it also render the SVG in different sizes? Perhaps I could make the 'Diagram Editor with Scalable Graphics' use that script, to make it independent of my website.
Beware that some of the SVG sets have different images for white and black pieces. These would be needed if you want truly black pieces; filling the white (outline) pieces with black would not work, because the inside details would become invisble. For any other color the outline pieces look better.