convert_png update for modern inkscape
Current inkscape version does not understand the parameters convert_png tries to pass it. Update convert_png.
I have Inkscape 1.0.2
Images do not scale correctly with this.
The scaling seems to work, after all. There is some other trouble with, e.g., persian (iran_ancient) flag.
It has page bigger than the actual image -> #41966
There are other flags with (supposedly) same problem.
As this patch updates only the conversion script, without regenerating all the flag pngs with it (and we can't regenerate all of them for the issues we see with some of them), this means we are about to ship pngs for which we provide no tool by which they were generated. Also, until this patch is applied, regenerating some of the pngs in other tickets, using the new script that works with current inkscape, again leads to shipping pngs for which we provide no tool by which they were generated.
As a solution I think we need to temporarily ship both tool versions. Make a copy of old convert_png as convert_png_legacy, and update convert_png.
- Add convert_png_legacy