rsnext/test/integration/image-component/default
Alex Castle af9d92207e
Use SVG blur technique for raw layout images (#37022)
This PR switches to using an SVG filter for blurring placeholder images, rather than a CSS filter. It's based on the technique described in @cramforce's [blog post](https://www.industrialempathy.com/posts/image-optimizations/#blurry-placeholder).

One change I made to @cramforce's version was to increase the stdDeviation property of the SVG (which controls the gaussian blur strength) from .5 to 50. Smaller values than this tended to look bad, as our technique for generating the blurry placeholder image tends to produce images with sharp contrast between the pixels, which looks bad when blown up unless it's blurred by a substantial amount.

This PR currently only affects the experimental `layout="raw"` but I expect to eventually apply it to all images. CC: @styfle @kara
2022-06-17 21:16:20 +00:00
..
components Support for static image imports (#24993) 2021-06-04 10:06:00 +02:00
pages Use SVG blur technique for raw layout images (#37022) 2022-06-17 21:16:20 +00:00
public Add support for AVIF to next/image (#29683) 2021-10-11 23:17:47 +00:00
test Use SVG blur technique for raw layout images (#37022) 2022-06-17 21:16:20 +00:00
next.config.js Add new 'raw' image layout (#34339) 2022-03-14 10:25:23 -04:00
style.module.css Fix style reset on image with placeholder=blur (#32680) 2021-12-20 17:49:35 +00:00