axe312ger / sqip

"SQIP" (pronounced \skwɪb\ like the non-magical folk of magical descent) is a SVG-based LQIP technique.

Home Page:http://axe312ger.github.io/sqip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch from `feGaussianBlur` to CSS `filter:blur`

xerc opened this issue · comments

Thank you for the suggest, css blur looks better but:

  1. browser support is questionable (at least it was a few years ago)
  2. it (was) much worse in performance as the svg blur

I am happy to give an option so the user can decide which blur to choose. Maybe we can do some rendering performance testing as well?

1. browser support is questionable (at least it was a few years ago)

true ; not @ IE

2. it (was) much worse in performance as the svg blur

could find any benchmarks from 2k+

I am happy to give an option so the user can decide which blur to choose.

good idea

Maybe we can do some rendering performance testing as well?

@ chromium [120.0.6092.0] filter:blur seems faster (3 reloads)

Bildschirmfoto 2024-02-19 um 20 23 19
Bildschirmfoto 2024-02-19 um 20 23 06

Honestly, support is the same (today!) and IE doesnt support either blur technique is not relevant anymore. Luckily its 2024.

It would be really cool if we could change our demo, or make another sub page for each blur with a lot of example images. Then we can render each page multiple times in a controlled environment (some CI) and compare the rendering results.

Based on this, we can give the users some details about the impact on which blur they choose, plus maybe switch to the css blur filter as default