Support the image-rendering property
Hello. Currently rsvg ALWAYS renders data with smoothing: bilinear or gaussian interpolation or something. In many applications nearest-neighbor interpolation is preferred to clearly display each individual image pixel. This can be specified with the image-rendering=pixelated or image-rendering=crisp-edges tags (firefox and chrome each prefer one of the two forms). But rsvg doesn't interpret either of these, and there's no way to get nearest neighbor interpolation.
I'm attaching a sample .svg file that uses nearest-neighbor interpolation when using firefox and chrome, but incorrectly smoothes out the image when using rsvg. Look at the color box on the right.
Thanks