the inkscape I configured it in this way
now I select the figure that I want to export
I use the filter to pixelate
and to export use this option
But there is a transparent outline ("in the image below is dark gray") that remains and my goal is that the figure occupies all the space