4 ms·
My two gripes with SVG I bumped into (although the second one is more to browser implementations). 1. It doesn't support premultiplied alpha interpolation mode
by steerablesafe 6y ago
My two gripes with SVG I bumped into (although the second one is more to browser implementations).
1. It doesn't support premultiplied alpha interpolation mode. If you ever import partially transparent rasterized images then it can cause visible artifacts at the edges of opaque regions.
2. Last time I checked no implementation supported interpolation in linear colorspace (linearRGB [1]).
So even though it's bloated it still misses features. And even though browsers are good fit for supporting it, they still don't bother implementing the full spec. And they implement PDF with vastly more gradient elements and color interpolation modes.
[1] https://www.w3.org/TR/SVG11/painting.html#ColorInterpolationProperty https://www.w3.org/TR/SVG11/painting.html#ColorInterpolation...
- jansan 6y agoOther stuff that is missing: - Relative coordinates. You can hack around this by using other SVG documents inside an SVG document, but this is really just a hack. - Conic gradients. Even CSS has them. Also, there are still a few implementation bugs for SVG. The Chromiums and Firefox teams have done an outstanding job at fixing bugs over the last few years, but if you do advanceed stuff, you will inevitable bounce into one of them. Also, Safari is not really good at SVG, but honestly, who cares.
- steerablesafe 6y ago> Relative coordinates. You can hack around this by using other SVG documents inside an SVG document, but this is really just a hack. You can also use <def/> to achieve something like that.