Remove anti-aliasing artefacts in Inkscape 1.2 by using this extension to use the correct anti-aliasing settings, color modes and down-sampling algorithm to produce to nicest results for adjacent shapes.
In SVG, adjacent shapes are rendered sequentially. When antialiasing is enabled, this process creates very small gaps between shapes which are actually touching each other. All renderers of SVG, including browsers and other art programs have this effect since it's built into the way shapes are rendered.
But there is a way to get a good output, and that is to do the anti-aliasing step after rendering, by resizing the image down. Your images will be 4x smaller when using this extension so you should account for that when exporting. But should remove all anti-aliasing artefacts. If you still see gaps, your shapes may not truly be touching.
This extension only works with Inkscape 1.2 raster extensions.