and tinkering with x until I get the desired size, but I can't seem to be able to do this in code. I can rasterize to the svg's "native" size, but not to a desired size. Note that I want to get the best achievable quality so doing any resizing after rasterization is out of the question. Does anyone know how this is done?
Code: Select all
convert -density x infile.svg outfile.png