How to use SVG as a Placeholder, and Other Image Loading Techniques

How to use SVG as a Placeholder, and Other Image Loading Techniques

Several strategies to fill the area of an image before it loads.

[…]

Another technique is using SVGs based on the image, which is getting some traction with recent experiments and hacks.

[…]

SVG can also be used to draw areas from the image instead of edges/borders. In a way, we would vectorise a bitmap image to create a placeholder.

[…]