I am trying to convert SVG to PNG (or any raster format) and resize at the same time.
I thought I would use ImageMagick for this task but it seems to be converting to raster before resizing.
This results in a poor quality image.
Is there a way to get ImageMagick to resize the SVG before converting to raster?
Or is there some other tool I can use to programatically convert an SVG to a raster after resizing it?
Alternatively, is there some other tool I could use for this?
Currently I'm using ImageMagick via a commandline:
convert file.svg -resize 100x100 file.png
The source image "size" is unknown and the destination size is not known until run-time.