Re: Converting SVG to SVG and replacing viewBox

2021-03-20 Thread Helder Magalhães
Hello Konstantin, Because SVG is vector graphics, you don't have to resize the whole contents but only the viewBox, as you've already stated. In this case, Batik would be overkill in my opinion: a simple XML manipulation workflow would be sufficient: 1. open SVG (XML) document; 2. read

Converting SVG to SVG and replacing viewBox

2021-03-11 Thread Konstantin Bulenkov
Hello everyone, What's a proper way to convert an SVG image file and replace its viewBox size, and then save? For example, loading 32x32 svg file, and save it as 16x16. input: http://www.w3.org/2000/svg;>