Is it possible to simply open a SVG and save it with different DPI?
Since Illustrator exports with 72 dpi and Inkscape "imports" with 96 dpi, my artworks are rescaled. As I rescale documents manually a lot, I'm hoping there's a more efficient way to do this. I'm not into this matter, but from my knowledge the actual pixel size (from which DPI is derived) of a SVG is small text-tag in the (svg-text-)file. It should be fairly easy for someone crafty to multiply the values via script (although I'd prefer a Inkscape/Illustrator solution).
E.g. If Inkscape opens a DIN A4 sized artwork (210x297 mm) saved as SVG with Illustrator, it will first display the document size in pixels. When I switch to "mm", it will say 157x222 mm, which is 67% of DIN A4. This is just a matter of the assumed DPI.
with 72 dpi, DIN A4 (210x297 mm) = 595 x 841 px [= 157x222 mm (67% DIN A4) in 96 dpi]
with 96 dpi, DIN A4 (210x297 mm) = 793 x 1122 px (rounded values)
I thought of this as a different way of fixing the issue of Illstrator saving SVGs natively with 72 dpi and Inkscape opening SVGs natively with 96 dpi (hence millimeter/inch-measurements are scaled by factor 1.3333, which is bad for prints/lasercuts). I already described the problem in my question, whether Illustrator native SVG resolution can be changed.
<svg ... width="1700.79px" height="850.39px" ... >
whereas the "correctly rescaled" Inkscape equivalent says<svg width="600mm" height="300mm" ...>
. BOTH files indicate for the first "object"<rect ... width="297.63599" weight="419.52701" />
. So just changing the "head tag"<svg ...>
could be enough.