jquery - Safari renders wrong colors when using blur filter -
i try apply blur filter svg elment, seems safari can't render colors right. here example of problem:
<svg height="110" width="110"> <defs> <filter id="f1" x="0" y="0"> <fegaussianblur stddeviation="15" /> </filter> </defs> <rect width="90" height="90" stroke-width="3" fill="#ff4300" filter="url(#f1)" /> </svg>
safari:
chrome:
the color right in every brwoser expet safari, brighter...does know fix this?
safari's default color interpolation (linearrgb) seems broken in recent updates. if switch srgb across board in filters, more correct results (although they'll gamma corrected).
<filter id="f1" x="0" y="0" color-interpolation-filters="srgb">
Comments
Post a Comment