Utilizing SVGZ images on my HTML pages for their ability to be resized. These SVGZ images consist of enlarged PNGs that have been altered in specific ways that I desire to maintain, pixelation and all. Firefox is rendering them correctly (as designed in Inkscape):
https://i.sstatic.net/VqzW4.png
Meanwhile, Chrome is automatically smoothing everything:
https://i.sstatic.net/Xy8Ee.png
I am currently teaching a course where I aim to illustrate the process of creating image data across multiple iterations. I want to retain the pixelation, as it reflects the underlying data. Furthermore, the PNGs within the SVGZ contain the attribute
style="image-rendering:optimizeSpeed"
. I was hopeful that Chrome would acknowledge this and act accordingly.
(Please be informed that I have already attempted the CSS image-rendering: pixelated;
workaround. It appears that this method would function effectively if I were displaying PNGs directly, however that is not the case here.)