H. G. Muller wrote on Sun, Oct 7, 2018 09:40 PM UTC:
Nice. Would it be difficult to also make it work for SVG? The result would be much smoother, as SVG rendering usually also involves anti-aliasing. I know there is a command rsvg under Linux, which can render SVG files to various bitmap formats. (I usually prefer PNG.) Would it be possible to call such a command from a PHP script, and then send the output file as answer to the request?
All XBoard pieces are available as SVG, and Greg is already working on converting Alfaerie to SVG.
Nice. Would it be difficult to also make it work for SVG? The result would be much smoother, as SVG rendering usually also involves anti-aliasing. I know there is a command rsvg under Linux, which can render SVG files to various bitmap formats. (I usually prefer PNG.) Would it be possible to call such a command from a PHP script, and then send the output file as answer to the request?
All XBoard pieces are available as SVG, and Greg is already working on converting Alfaerie to SVG.